CLOSE

CSS1 Padding Example

This paragraph of text has padding on the left and right, but not on the top and bottom.

This paragraph has padding, but this time only on the top and bottom.

Be careful when using margins. They don't necessarily apply to the text within the box, but to the box itself.


CLOSE WINDOW | VIEW CODE