How do I define the style for a link within a class?
i.e., one style for general links, and another style for links out of a specific class.
i.e., one style for general links, and another style for links out of a specific class.
code:<HR>Code:.nav { font-family: Arial, sans-serif; font-size: 12px; font-weight:bold; margin-left: 4px; color: #FFFFFF; }<P> a.nav:hover { color: #CCCC99; text-decoration:none; } <P> a.nav:active { color: #CCCC99; }
code:<HR>Code:<style><P>.link { color: white; font-weight: bold; text-decoration: none }<P></style>
code:<HR>Code:<a href="info.html"><span class="link">General info</span></a>
which didn't work. Silly I didn't try it the other way around of course...code:<HR>Code:<a class="link" href="info.html">General info</a>
code:<HR>Code:<a href="info.html" class="link">General info</a>