1. Computing

Change Text Color Dynamically in Modern Browsers

An Example

Roll your mouse over any non-visited link on the navigation of this page, and they will change color to a bright red.

This second paragraph is the class yellow, and has a hover pseudo-class used on it. When you move your mouse over the top of it, the background color of the paragraph turns yellow. But the paragraph is not a link. Note: this does not work in Internet Explorer 6 but it does work in IE 7.

Return to Article

Related Resources

Jennifer Kyrnin

Discuss in my forum

©2013 About.com. All rights reserved.