Intergrating CSS Into Your Site


There are 2 common ways to intergrate CSS into your site. The first is by adding a direct link to your document and the second is by putting the style at the top, here are exmaples of both of them.

1. Insert the following code between the <HEAD> tag.

CSS Code
  1. <LINK REL=stylesheet HREF="linktoyourstylesheet.css" TYPE="text/css">


2. Stick this in the same position as the first example.

CSS Code
  1. <style type="text/css">
  2. body {
  3. codes here
  4. }
  5. </style>


And there you have it, the two most common ways to intergrate CSS into your site.

Enjoy :D
Craig's Avatar
Author:
Views:
2,241
Rating:
There are currently no comments for this tutorial, login or register to leave one.