Creating Selectors to Style the Two-Column Layout


To style the two-column layout and its content, you will use 12 selectors as shown in Listing 19.2.

Listing 19.2. CSS Code Showing the Selectors for Styling a Two-Column Layout
 body {...} #container {...} h1 {...} #nav {...} #nav ul {...} #nav li {...} #content {...} #footer {...} h2 {...} a:link {...} a:visited {...} a:hover, 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