HTML and CSS Reference
In-Depth Information
Figure 4-50
Formatting the article heading
displays the
rawlings.png image
in the bottom-right
corner of the
heading group
sizes the background image
so that it is contained
within the background
sets the text color
to a light brown or
a semi-transparent
white
sets the height and
indentation of the
heading group
sets the size of the
h1 and h2 headings
to 158% and 105%
of the default text,
respectively
4. Save your changes to the file and reload cycle.htm in your Web browser.
Figure 4-51 shows the formatted appearance of the article heading.
Figure 4-51
Formatted article heading
background image
Next, you'll format the paragraph and unordered list text. Dan wants the font size of
both of these elements to be 80% of the default font size. He also wants you to increase
the margin space around the paragraphs and list items.
Search WWH ::




Custom Search