DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Change Text Properties On Mouseover

01.17.2007
| 6900 views |
  • submit to reddit
        This only works with the IE browsers. Add this code within your <head> tags. To keep the underline on your links, replace "none" with "underline" Change "YourColor" with the hexidecimal number of color required.  
Find this and other snippets on my site, if you wish, by <a href="http://www.webscriptexpert.com/css-change-text-mouseover.html">clicking here</a>

<style
type="text/css"> <!-- A:link { text-decoration: none; color:#YourColor
} A:visited { text-decoration: none; color:#YourColor } A:hover { text-decoration:
none; color:#YourColor } --> </style>