JSSTag.borderWidths() (Method)

Sets all of the border width values for an object.

Availability:

CSS level - 1
JavaScript - 1.2
Netscape - 4.0
Deprecated
JavaScript syntax:NmyJSSTag.borderWidths(aTop, aHoriz, aBottom)
NmyJSSTag.borderWidths(aTop, aRight, aBottom, aLeft)
NmyJSSTag.borderWidths(aValue)
NmyJSSTag.borderWidths(aVert, aHoriz)
CSS syntax:border-width: aTop, aHoriz, aBottom border-width: aTop, aRight, aBottom, aLeft border-width: aValue border-width: aVert, aHoriz border: aValue
HTML syntax:<... BORDER="...">
Argument list:aBottomA border width applied at the bottom
aHorizA border width applied left and right
aLeftA border width applied to the left
aRightA border width applied to the right
aTopA border width applied at the top
aValueA border width value applied all round
aVertA border width applied top and bottom
Event handlers:This controls the border attribute of an image object

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

Warnings:

See also:style.borderWidth

Event nameJavaScriptJScriptNIEOperaNESECMADOMCSSHTMLNotes
This controls the border attribute of an image object.1.2 1.2 n/a4.0 4.0 n/a n/a n/a n/a n/a1 1 n/aWarning , Deprecated