• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 7. Client-Side Browser Syntax > document.ids.borderWidths()

document.ids.borderWidths()

JavaScript 1.2+ Nav4+ Syntax

document.ids.idName.borderWidths(top,right,bottom,left)
document.ids.idName.borderWidths(top-bottom,right-left)
document.ids.idName.borderWidths(all)

Description

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


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint