JSSTag.paddings() (Method)

Sets all padding values for an object.


CSS level - 1
JavaScript - 1.2
Netscape - 4.0
JavaScript syntax:NmyJSSTag.paddings(aTop, aHoriz, aBottom)
NmyJSSTag.paddings(aTop, aRight, aBottom, aLeft)
NmyJSSTag.paddings(aVert, aHoriz)
CSS syntax:padding: aTop, aHoriz, aBottom padding: aTop, aRight, aBottom, aLeft padding: aValue padding: aVert, aHoriz
Argument list:aBottomA padding applied at the bottom
aHorizA padding applied left and right
aLeftA padding applied to the left
aRightA padding applied to the right
aTopA padding applied at the top
aValueA padding value applied all round
aVertA padding applied top and bottom

This method provides a way to set all four padding values at once. The number of arguments is variable and the values are applied in different ways according to how many are supplied.


See also:style.padding