August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.classes.className.tagName.paddings(top,right,bottom,left) document.classes.className.tagName.paddings(top-bottom,right-left) document.classes.className.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 class called className. The definition can also specify a tag or the word all for tagName. Setting the sizes is equivalent to setting the paddingBottom, paddingLeft, paddingRight, and paddingTop properties. Table 7.14 lists all the arguments associated with the paddings() method.
Read now
Unlock full access