help with links...

liunx

Guest
I'm brand new to CSS and i was wandering... when you use this...

<style type="text/css">
a:link {color: cyan; text-decoration: none}
a:hover {color: magenta; text-decoration: underline}
a:visited {color: cyan; text-decoration: none}
</style>

the visited link doesn't work with the hover element anymore... why not? How do i make it so even the visited links get underlined with hovered?Put the visited CSS code before the hover CSS code.The correct order for all pseudo-classes can be found at <!-- m --><a class="postlink" href="http://www.w3.org/TR/REC-CSS2/selector.html#dynamic-pseudo-classesthanks">http://www.w3.org/TR/REC-CSS2/selector. ... ssesthanks</a><!-- m -->
 
Back
Top