Forums
This topic is locked
CSS a.hover Help
Posted 11 Apr 2003 00:51:48
1
has voted
11 Apr 2003 00:51:48 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 11 Apr 2003 10:38:00
11 Apr 2003 10:38:00 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
--------------------------------------------------
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
--------------------------------------------------