119
CHAPTER
Formatting Your Pages 4
TIP
Can I set padding on all four sides?
Yes. You can set each side individually with the four padding properties: padding-left, padding-
right, padding-top, and padding-bottom. You can also use the shortcut padding property. As a
shortcut, provide a single value to set the same padding on all four sides; two values where the first is the
padding for the top and bottom, and the second is the value for the right and left; or four values, where
the first is top, the second right, the third bottom, and the fourth left.
● When viewed in a browser,
the headings and paragraphs
have the specified padding.
4 Within an existing p
declaration, type padding-
left: ?;, replacing? with
the amount of padding you
want to apply.