No, styles, in general, cascade, but class declarations don't. What
you're looking for is probably something like
div.content a {
/* style for any anchor descendent of a div with a class of
"content" */
}
- Justin Makeig
On Jul 18, 2005, at 1:11 PM, Lst Recv wrote:
Do classes cascade?
That is:
<style>
a.content { font-size: 120%; }
</styke>
<div class="content">
<a href="url">url</a>
</div>
Is that correct? If not, what is the preferred way of doing it?
(Also, BTW, what is what I sometimes see "font-size: 80%/130%" -
what is the / ?
)
Please cc me on all responses
Thanks
______________________________________________________________________
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/
______________________________________________________________________
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/