There are two items working here, inheritance and specificity.

Inheritance works off the DOM.

Items are inherited from their parents in the DOM.

If an item comes later in the stylesheet or in a stylesheet called after the
one it is found in, it will overwrite the specific properties of the parent.

However, more specific items will outweigh (and be applied over more general
items)

Example
<div id="a">
        <div id="b">
                <div id="c">
                </div>
        </div>
</div>

DIV{font-size: 12px;} // All divs will have a font-size of 12px.
DIV#b{font-size: 14px;} // Div B and C will have a font size of 14px;

DIV#a{text-decoration: underline} // Div A, b and c should be underlined
  

-----Original Message-----
From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 26, 2005 6:59 AM
To: CF-Community
Subject: RE: CSS Inheritance

 

> From: Angel Stewart [mailto:[EMAIL PROTECTED]
> What Blog software are you using?

Hey Gel,

I am using Ray Camden's blog software. It is in the right hand menu in the
"tools" pod. http://www.camdenfamily.com/morpheus/blog/

It is very easy to setup and use. Works great. I am just trying to "skin it"
with the Aura template (www.leorex.com).. after I cleanup the CSS and add
some more features to it.

Mike





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:5:144476
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to