... the zoom: 1 declaration seemed to fix it completely. where did that come from? i will look up layouted boxes and see what i find...
anyway, if you want to see the before and after versions, i have included links to examples below. ...
before: http://www.hinchliff.us/articles/home.htm
Yes, that's freaky.
after: http://www.hinchliff.us/articles/home_fixed.htm
Note that zoom:1 was meant as a warning shot to stop this IE6wreck.
For validation, you cannot use this MS proprietary zoom property.
/* Hide from IEMac \*/ * html #pagecontainer { height:1%; } /* End hide */
For a discussion of Holly's hack have a read here http://positioniseverything.net/explorer/escape-floats.html
Note that some people never had time reading the sources are using and recommending this hack without the comments and the escape. But then IEMac does its job fine and collapse the container to an effective height of 1%. Not good.
By principle, zoom:1 and height:1 are used to trigger "layout".
We are used to link to this MSDN page in this situation of a reply to readers who are curious:
http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/haslayout.asp It notes which properties trigger an object to have layout.
But as you'll notice, and to be honest, this page explains nothing.
And I can imagine that beginners believe that others, with more experience, probably know what "layout" exactly means. But that is simply not true.
By experience you'll learn that there are situations when having layout fixes problems and when it induces problems. That's all. A good start to learn more about IE6 bugs is the mentioned P.I.E. site.
One day, Big John has asked the Microsoft people about the inconsistencies with "hasLayout".
http://channel9.msdn.com/ShowPost.aspx?PostID=10723
(Jun 24, 2004 9:05 PM)
Did we expect an enlightening answer? /They/ really believe all makes perfect sense.
I wouldn't be surprised if IE7 comes with a new property called "hasEvenMoreLayout" with three states "True", "False", and "What?"
Ingo
______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/