Paul McFedries' Web Home


The cover of The Complete Idiot's Guide to Create a Web Page The CIGHTML Mailing List
Frequently Asked Questions - Style Sheets

Main FAQ page

How do I get the text to change color when the surfer hovers their mouse over a link?

Internet Explorer supports the A:hover style, which lets you specify a text color when the user hovers the pointer over any link. For example, to change the text to Crimson, you'd use this

<STYLE TYPE="text/css">
<!--
A:hover {color: Crimson}
-->
</STYLE>

How do I display links without underlines?

This requires a style sheet:

<STYLE TYPE="text/css">
<!--
A {text-decoration: none}
-->
</STYLE>

Main FAQ page


Copyright © 1995-2008 Paul McFedries and Logophilia Limited