
Figure 6.5: Box properties
In Figure 6.4, the large padding and large margins of the main title are vis-
ible. Compare with section titles that have no padding and a small margin.
Thanks to its silver background, you can see the box around the URL. This
box is an inline box—you can see it’s contained in the box of a paragraph.
CSS Property Values
Four values are commonly used by the properties: length, percentage, color,
and URL. Before going into the specifics of properties, let’s first review
these values.
Length
Lengths are used for widths, heights, and sizes. A length is a number fol-
lowed by a unit with no spaces between them. For example, the following ...