How to use CSS

<< back | refresh | forward >>

  • Now for the BODY section of your style sheet. The previous section teaches you how to change the properties of your links.
    This section is to teaches you how to change the properties of all the text on your page. Copy and paste it after the links part.

    <!--
    body
    {font-family: Ariel
    color: #color ;
    letter-spacing: 3pt
    font-weight: normal
    font-size: small
    line-height: 13pt
    -->

    1. font-family: You can change your font face to any font you want. Ex: Ariel, Tahoma, Verdana, Courier New..etc.

    2. color: You know what to do here =P

    3. letter-spacing: the space between your letters. Ex: 1pt,2pt,3pt...etc.

    4. font-weight: Explained in the links section of this tutorial.

    5. font-size: Your font size. You can either use numbers or words. Ex: if you want to use numbers, replace 'small'
      with a number like 8pt. Of course you can use any number you want.

      If you want to use words, repalce 'small' with any one of these:
      xx-small, x-small, small, medium, large, x-large, xx-large

    6. line-height: The height of your lines. You can replace '13' with any number you want.

      Now you can end your style sheet with this: </style>, and you're done! =)! Thank you for following this tutorial! I hope it was helpful.