Hi Jon,

> I've just created a class called "homepage-box" within an id called
> "content". However, my css rule "#content.homepage-box" does not show any
> rules I set [...]

> #content.homepage-box

Your selector refers to any element which has an id attribute of value
"content" AND a class attribute of value "homepage-box".

What you want is an element, which has your class attribute and is a
descendand of another element with id "content".

Mind the gap!

This selector has a space between #content and .homepage-box:

#content .homepage-box

When in doubt about the meaning of certain selectors you will
certainly find the Selectoracle quite useful:

http://gallery.theopalgroup.com/selectoracle/

Cheers,

jens

-- 
Jens Brueckmann
http://www.yalf.de
______________________________________________________________________
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