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

Chapter Nine. CSS Basics > Whitespace and Case Insensitivity

Whitespace and Case Insensitivity

Most style sheets naturally contain more than one rule, and most rules contain more than one declaration. Multiple declarations are easier to keep track of and style sheets are easier to edit when we use whitespace:

body  {
    color: #000;
    background: #fff;
    margin: 0;
    padding: 0;
    font-family: Georgia, Palatino, serif;
   }

p    {
font-size: small;
   }


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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