The Web Design Group


Left Margin


Syntax: margin-left: <value>
Possible Values: <length> | <percentage> | auto
Initial Value: 0
Applies to: All elements
Inherited: No

The margin-left property sets the left margin of an element by specifying a length or a percentage. Percentage values refer to the parent element's width. Negative margins are permitted.

Example:

ADDRESS { margin-left: 50% }

Note that adjoining horizontal margins are not collapsed.

CSS Index ~ CSS Structure ~ CSS Properties


Home, Forums, Reference, Tools, FAQs, Articles, Design, Links

Copyright © 1996 - 2006. Web Design Group All rights reserved.