|
BeTheBall -> Help modifying appearance of some links (1/25/2005 12:38:05)
|
I can use the following to have my links be green with a dashed underline: a:link {color: green;} a:visited {color: green;} a.active {color: green;} a:hover {background-color: #ffffff;} a {text-decoration: none;border-bottom: 1px dashed} My problem is this, I only want to apply the above style to some of the links on the page, not all. I thought I could do that by changing the above to: glossary.a:link {color: green;} glossary.a:visited {color: green;} glossary.active {color: green;} glossary.a:hover {background-color: #ffffff;} glossary.a {text-decoration: none;border-bottom: 1px dashed} And then chaning my link tag to add: class="glossary" Evidently, I am not quite on base. Any thoughts for this CSS wannabe?
|
|
|
|