PDA

View Full Version : can u do more than 1 css styled links


rph105
10-24-2007, 08:06 PM
im using one css link style, say i wanted to create another one can i do that, ive also got a black box, what if i wanted to make in grey when the mouse hovers over it can i do that????

Atomico™
10-25-2007, 01:14 AM
.styledivone a:link {
text-decoration: underline;
color: #FFCC00;
}
.styledivone a:visited {
text-decoration: underline;
color: #FFCC00;
}
.styledivone a:hover {
text-decoration: none;
color: #CCCCCC;
background-color: #333333;
}
.styledivone a:active {
text-decoration: underline;
color: #FFCC00;
}


and..

<td width="200" class="styledivone" valign="top">
<p><a href="#">Link One</a></p>
<p><a href="#">Link Two</a></p>
<p><a href="#">Link Three</a></p>
<p><a href="#">Link Four</a></p>
<p><b>text...</b> etc etc etc. </p>
</td>

Atomico™
10-25-2007, 01:30 AM
also might want to read this Article (http://www.tizag.com/cssT/class.php)