Archive for the 'CSS' Category

Firefox Scrollbar Pushing Content Left

Wednesday, June 28th, 2006

I just spent about an hour trying to work out why a CSS layout I was working on suddenly jumped left when I clicked on certain pages in Firefox, but not in Internet Explorer.
It turns out I made the silly mistake of forgetting Firefox pushes content left when the vertical scroll bar appears! ie. If […]

Italics cause DIV width problem

Tuesday, May 23rd, 2006

Internet Explorer 6 has a problem where it fails to calculate the width of DIVs containing italic text correctly. You’ll generally notice this problem in a 2-column CSS layout. Your fancy new layout looks great, until you add italic text. Suddenly your menu appears below your content or vice-versa.
The solution? Sometimes there is none (other […]