W3C home > Mailing lists > Public > www-html@w3.org > September 2001

Re: ie6 and transitional dtd

From: David Emmerson <davidemmerson@crosswinds.net>
Date: Tue, 18 Sep 2001 19:41:08 +0100
Message-ID: <000501c14071$81cf1980$837001d5@l8b7x1>
To: <www-html@w3.org>
> in IE6 I am having a problem. When a vertical scrollbar automatically
> appears, it is adding extra width to the page, therefore a horizontal
> scrollbar also appears, which you cannot get rid of on any vertical
> scrolling page.

This list is not really the place to discuss that (also the problem seems
to be a CSS one mainly rather than HTML).

>
> Also, for IE, when you set any scrollbar styles eg.
>
> scrollbar-face-color:#ccccff;
> scrollbar-highlight-color:#000099;
>
> they are not taking affect. I have spent ages looking for IE6 bugs on this
> problem, but I have just found out that if I take out the xhtml1.0 dtd
> declaration, it all works fine !

IE6 is more strictly compliant with the recommendations. Supplying a
doctype puts it into strict mode, which will ignore those non-css
properties.

> Is there any way of fixing this without taking the dtd out ? I have found
a
> hack for the horizontal scrollbar (on IE6, putting in scroll="yes" into
> body - not very elegant), but I'm presuming it should be fizable in the
css.

overflow: auto; on the <body> may help, but the actual scroll 'bug' should
be taken up with Microsoft.

--
David Emmerson
Received on Tuesday, 18 September 2001 14:41:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:49 GMT