> > 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
I beg to differ, there is nothing old or IE centric about this approach.
You simply define something for a browser that does not understand the
child selector and override/enhance it for those that do. That is
nothing hacky or bad, it is simply the CSS equivalent of object
It will also not "not work in IE7" but hopefully WILL also work for
MSIE 7, as this one does understand the selector. You normally use
this approach for graceful degradation or fix a bug of an older
browser and make sure newer browsers get the real values. It is a lot
cleaner than any funky voice family backslash or underscore hacks.
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/