Forums

This topic is locked

CSS a.hover Help

Posted 22 years ago
1
has voted
22 years ago Marble Mouth posted:
Hey, I am trying to create 2 separate (a.hover, a.link, a.visited) css styles in dreamweaver. How do you specify which a.* style to use on whicj link of the document. I know its possible because I see it all over the web. Just cant get it to work... Any help would be great!
Thanks

Replies

Replied 22 years ago
22 years ago Patrick Woldberg replied:
You can use classes, like: <a href="goto.htm" class="navigation">goto</a>

Then in the stylesheet you put it like:

a.navigation:link {
color: #ffffff;
text-decoration: none
}

a.navigation:visited {
color: #ffffff;
text-decoration: none;
}

etc.

--------------------------------------------------
Patrick Woldberg
Web Developer at Dynamic Zones
Manager at DMXzone.com
--------------------------------------------------

Reply to this topic