Availability: |
| |||||
JavaScript syntax: | N | myJSSTag.paddings(aTop, aHoriz, aBottom) | ||||
N | myJSSTag.paddings(aTop, aRight, aBottom, aLeft) | |||||
N | myJSSTag.paddings(aValue) | |||||
N | myJSSTag.paddings(aVert, aHoriz) | |||||
CSS syntax: | padding: aTop, aHoriz, aBottom padding: aTop, aRight, aBottom, aLeft padding: aValue padding: aVert, aHoriz | |||||
Argument list: | aBottom | A padding applied at the bottom | ||||
aHoriz | A padding applied left and right | |||||
aLeft | A padding applied to the left | |||||
aRight | A padding applied to the right | |||||
aTop | A padding applied at the top | |||||
aValue | A padding value applied all round | |||||
aVert | A 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.
Deprecated for any further use. This was available only in Netscape 4.0 and is completely removed from Netscape 6.0.
See also: | style.padding |
Prev | Home | Next |
JSSTag.paddingRight | Up | JSSTag.paddingTop |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |