Forum Moderators: not2easy
Then in your CSS:
a.class1:link {...}
a.class1:visited {...}
a.class1:hover {...}
a.class1:active {...}
a.class2:link {...}
a.class2:visited {...}
a.class2:hover {...}
a.class2:active {...}
HTH
For your links question, I'd do something like this:
a.headnav:link, a.headnav:visited {
color: #000080;
font-weight: bold;
text-decoration: none;
}
a.headnav:hover, a.headnav:active {
color: #0000dd;
font-weight: bold;
text-decoration: underline;
}
a.sidenav:link, a.sidenav:visited {
color: #ffffff;
font-weight: normal;
text-decoration: underline;
}
a.sidenav:hover, a.sidenav:active {
color: #f0f0f0;
font-weight: normal;
text-decoration: underline;
}
There's some code bloat in the above, but it illustrates how you can create separate classes of your links and specify the properties of each. Like all of CSS, you can create as many classes as you want, but two or three should be absolutely sufficient. There's also no reason all your link classes can't go in the same stylesheet.