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

Chapter 7. Client-Side Browser Syntax > document.tags.paddings()

document.tags.paddings()

JavaScript 1.2+ Nav4+ Syntax

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

Description

The paddings() method specifies the distance between the borders of an element and its content. Using dot notation, the property is associated with the tag called tagName. Setting the sizes is equivalent to setting the paddingBottom, paddingLeft, paddingRight, and paddingTop properties. Table 7.23 lists all the arguments associated with the paddings() method.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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