padding Attribute

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

The property describes how much space to insert between the border and the content (e.g. text or image). The order is top, right, bottom, left. If there is only one value, it applies to all sides, if there are two or three, the missing values are taken from the opposite side.

Supported on block and replaced elements only.

This attribute is not inherited.

Ayuda de Html para Javascripts.astalaweb.com.