Phillip Perry wrote:
> I'm new to the list and not too new to css but by no means a pro at it. I've
> noticed in some of the posts i've seen people list html,body {blah:foo;} as
> a line of code. What benifit comes from html and body selectors? I'm sorry
> if this is a stupid question but I cant seem to find an answer elsewhere.

Well, since body wraps the entire site, it can be a very powerful 
element to style.  A common use is:

body {font-size:100%;}

to set the base font size.

There are hacks which you might be seeing as well:

html>body .container {color:blue;}

which will be ignored by IE win - maybe mac ie as well.

Mike
______________________________________________________________________
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/

Reply via email to