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

Chapter 7. Border and Margin Controls > Setting an Element's Margins

Setting an Element's Margins

The margin property allows you to set the space between that element and other elements in the window by specifying one to four values (Code 7.2) that correspond to all four sides together, the top/bottom and left/right sides as pairs, or all four sides independently (Figure 7.3).

Code 7.2. You can set the margins in one definition or on a side-by side basis, either by defining each side individually, as shown in this code, or by listing each side.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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