Xoxideforums |
03-02-2007 07:19 PM |
I'm curious as to why this would be done using the onmouseover, onmouseout within the <a> tag....
isn't it much cleaner, easier to alter and add, if you used the CSS attributes?
Code:
.portalnav
{
color:#FFCC00;
font: bold 10px verdana;
Text-Decoration: none;
}
.portalnav a, .portalnav a:link, .portalnav a:visited, .portalnav a:active {
text-decoration:none;
display:block;
background: #555555;
color: #FFCC00;
font: bold 10px verdana;
}
.portalnav a:hover {
background: #444444;
}
|