This was happening to me in a project, but lends itself to a general question.

With this css:

div#stylea{foo}
p.styleb{foo}


and this html:

<div id="stylea">
    <p class="styleb">bar</p>
</div>

styleb was not being applied until I did this:

div#stylea p.styleb{foo}

why? I know I need to get this specific to _over-ride_ the original p.styleb. But why didn't the first "general" p rule just work? (follow me on that?) ;-)


Tom Livingston
Senior Multimedia Artist
Media Logic
www.mlinc.com

---
www.browsehappy.com


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to