This *should* be an easy one, but alas, to a beginner like me...
I want to set a link style for an entire <div>, but then be able to reference a
custom link within that <div> that carries a different style.
In other words, the html would go:
<div id="container">
<p><a href="#">container formatting</a></p>
<p><a href="#" class="custom">custom formatting</a></p>
CSS-wise, I can get this far:
#container a {
color:#374f7d;
text-decoration: none;
font: bold 10px/12px arial, helvetica, sans-serif;
text-transform: uppercase;
}
#container a:hover {
text-decoration: underline;
}
But how do I set the style for the second link? I've tried all sorts of
methods, but I can't get it to *not* inherit the container style.
Thanks in advance!
Christian.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- 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/