[thelist] has div height been deprecated in html 4.01?

James Denholm-Price j.denholmprice at gmail.com
Fri Sep 10 14:35:35 CDT 2004


On Fri, 10 Sep 2004 18:11:27 +0100, Scott Harman <scott at harman.tv> wrote:
> Building a windows media based sight with plenty of divs - all of a
> sudden ie6 has stopped rendering div heights correctly when I use the
> following DTD:
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html401/loose.dtd">
> 
> However - when I use:
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> with no
> DTD specified, it all renders fine.
> 
> Firefox however - renders correctly regardless of which DTD is loaded.
> Just tested with:
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
>         "http://www.w3.org/TR/html4/frameset.dtd">
> 
> Exactly the same issues - very strange.
> 
> Considering this should have everything - I can't imagine any reason it
> wouldn't work correctly.

According to <http://gutfeldt.ch/matthias/articles/doctypeswitch/table.html>
the second HTML4 DOCTYPE will trigger IE's quirks mode and according
to css-d [1] IE treats height incorrectly anyway ... perhaps it's a
combination?.

Do you have a URL?

James

[1] http://archivist.incutio.com/viewlist/css-discuss/43652


More information about the thelist mailing list