Graphics Programs Reference
In-Depth Information
Figure 8-48
Code for the alternate div styles
alternate
container rule
alternate
content rule
◗
5.
Save the style sheet, switch to the
index.html
page, and then, on the Style
Rendering toolbar, click the
Render Print Media Type
button
. The page is
displayed with the alternate print styles. See Figure 8-49.
Figure 8-49
Home page with the new div styles for print media
page background
is white
◗
6.
On the Style Rendering toolbar, click the
Render Screen Media Type
button
to display the home page with screen styles, and then return to the style sheet.
Search WWH ::
Custom Search