Home | Previous | Next Stylesheets and Site Management

How CSS Works

  1. CSS defines formatting rules for different HTML elements
    For example (see example document example1.txt, .html.):
    P   {margin-left:  20%; 
         margin-right: 5%; 
         text-align: justify;}
  2. Supports a new HTML attribute, CLASS, to categorize elements.
    For example:
    SPAN.huge  {font-size: 210pt; } 

Home | Previous | Next Stylesheets and Site Management