Michel Sabatino wrote:
> html>body #content{width:500px;}
> Can somebody explain me briefly the last line : html>body #content
> Why declare the width in this declaration and not above?
That's an old method for hiding styles from IE/win, as IE/win-versions
up to and including IE6 don't understand the '>' selector. Won't work in
IE7.
The idea is probably to hide the width since such a width will trigger
the 'hasLayout'[1] bug. (Yes, it is a bug, although we often use it as a
"fix" for other IE/win bugs)
regards
Georg
[1]http://www.satzansatz.de/cssd/onhavinglayout.html
--
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- 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/