"Jukka K. Korpela said:
No it doesn't.
Under some circumstances, perhaps. And this has nothing to do with
inheritance.
To learn to understand CSS concepts, try reading a book or an online
tutorial or specification - and if problems remain, ask in a group devoted
to stylesheets, not HTML.
Damn... what are you doing up Korpela? This is the Southern
Hemisphere help desk shift. [God help everyone... when I am on it
alone...
]
Cascading has more to do with the idea of different style sheets
relating to a document, there being rules that determine which
css instruction applies when there is a 'conflict' between
sheets. The settlement of such 'conflict' is arbitrated
especially according to the order in which the sheets are
specified (as in the head) but there are other criteria too...
This is a different idea to inheritance. Inheritance is a concept
that operates even within parts of perhaps the single only sheet.
To determine what things a child will inherit, one must find the
parent. Finding the true parent involves fossicking about through
the sheets and attending to the cascading rules. This is where
some confusion can arise about the two ideas.
I can recommend the following book, it is nicely written and I
don't know why, but the authors with quite unlikely names, seem
to know what they are talking about:
Cascading Style Sheets by Hakon Wium Lie & Bert Bos.