Philippe Wittenbergh wrote: > On Mar 24, 2007, at 3:06 AM, Karl Bedingfield wrote: > >> So what do these 'hacks' actuall do@ >> >> /* trigger hasLayout and target ie5+6/win only */ >> >> >> * html #nav ul { >> height: 1%; >> } >> >> /* trigger hasLayout and target ie7/win only */ >> >> *:first-child+html #nav ul { >> min-height: 1px; >> } > > 'hasLayout' is a MSIE only concept that determines how elements are > painted on the canvas. > It is often needed to force elements to behave correctly in that > browser. > Both the 'height' property (all MSIE) and the 'min-height' property > (IE 7) are 'layout' triggers. > > Read this a few times: > <http://www.satzansatz.de/cssd/onhavinglayout.html>
I think that hasLayout is a thing that IE uses as a cheat for speedy page draws and/or redraws. If something doesn't have layout, IE doesn't re-render it - it just copies the current bitmap rendering. Or this seems logical to me. -- David [EMAIL PROTECTED] authenticity, honesty, community ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/