Creating Selectors to Style the Header


To style the site header and its content, you will use 10 selectors as shown in Listing 18.2.

Listing 18.2. CSS Code Showing the Selectors for Styling the Header
body {...} #container {...} h1 {...} h1 img {...} ul#topnav {...} ul#topnav li {...} ul#topnav li a:link {...} ul#topnav li a:visited {...} ul#topnav li a:hover {...} ul#topnav li a:active {...} 




Sams Teach Yourself CSS in 10 Minutes
Sams Teach Yourself CSS in 10 Minutes
ISBN: 0672327457
EAN: 2147483647
Year: 2005
Pages: 234
Authors: Russ Weakley

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net