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

Chapter Ten. CSS in Action: A Hybrid Lay... > Overall Styles, More About Shorthand...

Overall Styles, More About Shorthand and Margins

In our first rule, we establish basic page colors and upper and lower margins:

body  {
      color: #000;
      background: #fff;
      margin: 25px 0;
      padding: 0;
      }


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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