Posted by Steve Gouldstone on 02/06/06 17:58
I want to get links highlighted in a differernt colour when the mouse
moves over them (yellow), so I have the following CSS in my HTML file
header:
<style>
<!--
a{text-decoration:none;font-weight:bold;color=navy}
a:hover{color:red;
text-decoration:underline;background-color:#FFFFAF;font-weight:bold }
-->
</style>
This works fine ... except that image hotspots are also coloured
yellow when the mouse moves over them. This looks terrible!
Is there some way to define the hover style so it affects text links
only?
Thanks
Steve
Navigation:
[Reply to this message]
|