Creating Selectors to Style a Table


To style this table and its content, you will use eight selectors as shown in Listing 14.8.

Listing 14.8. CSS Code Showing the Selectors for Styling the Table
caption {...} table {...} th, td {...} tr {...} thead th {...} tbody th {...} tr.alternate {...} tr.alternate th ... } 




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