August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.tags.tagName.paddings(top,right,bottom,left) document.tags.tagName.paddings(top-bottom,right-left) document.tags.tagName.paddings(all)
The paddings() method specifies the distance between the borders of an element and its content. Using dot notation, the property is associated with the tag called tagName. Setting the sizes is equivalent to setting the paddingBottom, paddingLeft, paddingRight, and paddingTop properties. Table 7.23 lists all the arguments associated with the paddings() method.
| Item | Description |
|---|---|
| top | Padding between top border and content |
| right | Padding between right border and content ... |
Read now
Unlock full access