On 10/23/06, Jon Rendle <[EMAIL PROTECTED]> wrote: > However, my css rule "#content.homepage-box" does not show any > rules I set (top border etc.),
> <div id="content"> > <h1>Cakes to celebrate any occasion</h1> > <div class="homepage-box"> #content.homepage-box is a single specifier for "the element with id content and class homepage-box". Which would be redundant at best, but you have no such element. What you have is an element with class homepage-box *inside* an element with id content. That calls for a descendant specification, which means you need a space between whatever matches the container and whatever matches the containee: #content .homepage-box -- Mark J. Reed <[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/