margin Attribute

{ margin: [ <length> | <percentage> | auto ] {1,4}}

Allows all four margins to be specified with a single attribute. Supported on block and replaced elements only.

This attribute is not inherited.

Settings

The values specify the margins in the following order: top,right,bottom, left.

Ayuda de Html para Javascripts.astalaweb.com.