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

Chapter 8. Space Around Boxes > Common Uses of the Margin Properties

Common Uses of the Margin Properties

One common use of the margin properties is to indent a paragraph from the left and right margins to set it apart from the rest of the text. An example is a quotation. The following code shows how you can do this:

BLOCKQUOTE { margin-left: 4em; margin-right: 4em }


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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