Sams Teach Yourself CSS in 10 Minutes

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 ... }

Категории