IE6, italics and horizontal scrollbars
And the prize for freakiest CSS bug in the universe goes to... IE6! I was having a problem with the new design and a horizontal scrollbar occuring in IE6 for no readily apparent reason (the same bug had plagued my previous design as well). Bill Simoni on CSS discuss pointed out that the scrollbar wasn’t appearing on the comment / entry pages. After an extensive trial and error session I tracked the problem down to the fact that my blockquotes were in italic. If I removed the font-style: italic property from the blockquote declaration, the horizontal scrollbar vanished. No other changes were needed.
Truly bizzare.
Dorothea Salo - 9th April 2003 20:24 - #
Jim - 9th April 2003 20:33 - #
I thought this was already known.
Basically what happens is, when a page is 100% wide, IE has to make it just that bit wider for the italics, so creating a horizontal scrollbar that has an extremely small effect.
(Disclaimer: I am no web expert, nor am I an IT professional or even a student in that field. This is solely based on my observations. It is probable that I am completely wrong.)
Sean - 9th April 2003 20:59 - #
Simon Jessey - 9th April 2003 21:08 - #
Simon Willison - 10th April 2003 00:43 - #
E. Naeher - 10th April 2003 01:38 - #
Devon - 10th April 2003 09:02 - #
Simon Willison - 10th April 2003 09:50 - #
Ian Lloyd - 10th April 2003 10:29 - #
Michael McLoughlin - 25th May 2003 21:15 - #
matthew - 13th November 2003 02:35 - #
Serge - 29th January 2004 23:21 - #
Paul S - 19th March 2004 10:49 - #
Bruno - 2nd April 2004 09:48 - #
ABANOP - 14th April 2005 18:31 - #
Johan DeSilva - 30th September 2005 14:34 - #