Skip to main content

Padding

Description

Determines the space between the element’s border (or boundary) and its inner content.

Owner

Layout

Inheritable

No

Default Value

0

Values

Value Type:
number
  • A number representing the width of the padding for all four edges.
Value Type:
array
  • An array of four entries, each entry specifying the width of the padding for one edge, in the order of the before, after, start and end edges.

Related Tags

Art
Artifact
Aside
BibEntry
BlockQuote
Caption
Code
Div
Document
DocumentFragment
Em
FENote
Figure
Form
Formula
H
Hn
Index
L
LBody
LI
Lbl
Link
NonStruct
Note
P
Part
Private
Quote
RB
RP
RT
Reference
Ruby
Sect
Span
Strong
Sub
TBody
TD
TFoot
TH
THead
TOC
TOCI
TR
Table
Title
WP
WT
Warichu