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

Chapter 2. Setting Your Page's Base Styles > Controlling the Body of Your Page

Controlling the Body of Your Page

In HTML documents, all displayable elements are nested inside of the BODY element (between the <body> start tag and the </body> end tag). By setting a style rule for the BODY element, you can control the global characteristics of your page, such as the page margins, the default font, and the foreground and background colors, for instance.

Setting the Page Margins

Using styles, you can control all four margins on your page. To set the width of all four margins, just type the following bold text:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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