Previous | Next
Full View
Contents of Margins, Padding and Indent Values
Margins, Padding and Indent Values
Copyright Karen McCall, Karlen Communications
6
- Margins: margin-left, margin-right, margin-top, margin-bottom or margin:
- Padding: padding-left, padding-right, padding-top, padding-bottom, padding:
- Can be used for block elements or in a table for cell padding/space between the text and gridlines.
- Indent: text-indent: 5% (can also be a length)
- Can apply to a block element such as <p>, <h#> and so forth.