HTML and CSS Reference
The zebra stripes are clear, even in the black-and-
white image shown in Figure 17-11. Of course, you
have to be careful that there is sufficient contrast
between the background and text color. If neces-
sary, be sure to define a color attribute with an
appropriate color for your row class.
In this Try It you learn how to style a table.
You will need the tpa_jupiter.html file from the
Lesson_17 folder, as well as a text editor and web
Open your text editor.
From the Lesson_17 folder, open tpa_jupiter.html .
Put your cursor before the closing </style> tag within the <head> section and press Enter
Enter the following code:
padding: 10px 0;
border-bottom: 2px black solid;