| home / programming / css_10 / 1 | [previous] |
|
|
The final step in this lesson involves setting the link colors. You will work on four pseudo-classes.
The a:link pseudo-class can be set to color: #175B7D, and the
a:visited pseudo-class can be set to color: #600.
The a:hover and a:active pseudo-classes also can be set with color:
#fff; and background: #175B7D as shown in Listing 19.12. The results
can be seen in Figure 19.11.


In this lesson, you learned how to center content within a browser window,
style an <h1> element, and position and style two columns and a
footer. In the next lesson, you will learn how to style a page for print
using CSS.
Excerpted from Sams Teach Yourself CSS in 10 Minutes by Russ Weakley. ISBN 0672327457, Copyright © 2005. Used with the permission of Que & Sams Publishing.
| home / programming / css_10 / 1 | [previous] |
Created: March 27, 2003
Revised: January 03, 2005
URL: http://webreference.com/programming/css_10/1