CSS Margin and Padding Properties

Posted The: 25/04/2008 At: 18:24

Last Edited: 30/04/2009 At: 20:55

These are the Margin and Padding Properties. To understand margin and padding, read the Article: ""

Overview

Margin Properties

  1. margin
  2. margin-top
  3. margin-right
  4. margin-bottom
  5. margin-left

Margin is used to create "space" outside the box its applied to, it can roughly be translated into, spaceing between elements.

Padding Properties

  1. padding
  2. padding-top
  3. padding-right
  4. padding-bottom
  5. padding-left

The padding properties, are used to create "space" between the edge of a parent element, and its children.

Comments: [0]

© Brugbart Webdesign