document.tags.borderWidths()

JavaScript 1.2+ Nav4+ Syntax

document.tags.tagName.borderWidths(top,right,bottom,left)
document.tags.tagName.borderWidths(top-bottom,right-left)
document.tags.tagName.borderWidths(all)

Description

The borderWidths() method specifies the width of the border that surrounds an element as associated with the tag called tagName. Setting border widths is equivalent to setting the borderBottomWidth, borderLeftWidth, borderRightWidth, and borderTopWidth properties. Table 7.20 lists all the arguments associated with the borderWidths() method.

Table 7.20. Arguments Associated with the borderWidths() Method
Item Description
top Width of the top border
right Width of the right border
left Width of the left border ...

Get Pure JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.