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

Chapter 7. Client-Side Browser Syntax > document.ids.marginTop

document.ids.marginTop

JavaScript 1.2+ Nav4+ Syntax

document.ids.idName.marginTop

Description

The marginTop property specifies the distance between the top border of an element and the bottom border of another element. Dot notation is used to associate this property with the ID called idName.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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