mcuhouse
01-18-2003, 10:16 PM
Help!? (whimper)... I want to use one set of link colors in one table (dark background) and another set in a different table (light background) on the same page ... can this be done???
I'm not great at interpreting, so can you be as specific as possible please?
Thanks in advance!
annie
Yup, sure can! It can be done through CSS classes :).
<head>
<style type="text/css">
a:link.one
{
background-color:606060;
color:000000;
font-family:verdana;
font-size:20px;
text-decoration:none;
}
a:link.two
{
background-color:000000;
color:606060;
font-family:verdana;
font-size:20px;
text-decoration:none;
}
</style>
</head>
<body>
<a href="link.html" class="one">Click</a>
<a href="link.html" class="two">Click</a>
</body>
You can change the names from "one" and "two" (I just wasn't feeling very creative, lol). You'd have to set a class for every link.
mcuhouse
01-19-2003, 01:50 AM
Do I put the link code inside the tables code for the one I want it to change? Do I include the brackets??
Sorry to be so dense! LOL!
Thanks a lot for helping me!!!!
annie
mcuhouse
01-19-2003, 01:56 AM
note the red face, LOL!
I think I got it! OF course I need the brackets, and I'll try the code position that makes the most sense...
Thanks again for offering me the help!