Recently I've seen some stylesheets where the ID and class of the  
same element is combined into a single selector; e.g.,

body#about-us.level2 #banner {background: #900 url(../images/ 
bnr_sec01.jpg) no-repeat 0 15px;}
body#ask.level2 #banner {background: #900 url(../images/ 
bnr_sec02.jpg) no-repeat 0 15px;}
body#message.level2 #banner {background: #900 url(../images/ 
bnr_sec04.jpg) no-repeat 0 15px;}

where the body tag contains both the ID after the pound sign _and_  
and class "level2"; e.g.,

<body id="about-us" class="level2">

I know about multiple class selectors, but this is different, and  
I've never heard of it before. Does the selector:

body#about-us.level2

combine the body ID "about-us" and  and the body class "level2"?

If so, where is this technique documented?

Or is it simply refer to an (unintended) body ID of "about-us.level2"?

Thanks,

--
Peter Weil, Web Developer
University Communications
University of Wisconsin-Madison
Phone: 608-262-6538
Email: [EMAIL PROTECTED]



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

Reply via email to