Previous | Next
Full View
Contents of Margins and Padding
Margins and Padding
Copyright Karen McCall, Karlen Communications
5
- Margins are the attributes for the space outside of the element.
- For example the space around the outside of a "box" or border.
- Padding is the attribute for the space inside the box.
- For example the space between the text and the box/border.
- Indent is the attribute used when you want a specific percentage of indentation from the left.
- Acts much like a left indent of a paragraph for a word processed document.
- An example is the "code" class I created.