Navigation

User login

To prevent automated spam submissions leave this field empty.

How to make a CSS style: external CSS style sheet help

To make a CSS style, first create a CSS style sheet, perhaps called styles.css and put it in the same directory as your HTML page. Then reference it using the following tag:

< link href="style.css" rel="stylesheet" type="text/css" media="screen" >

Once you do that, edit the CSS file. Add any styles that you would like to have, such as:

a:link {
COLOR: #0000FF;
}

Once you do this, load the page in a browser to test it. Your new external CSS style sheet should now be visible.

by Margaret Walker on Mon, 10/25/2010 - 22:01

Recent Posts

Poll

Are you excited for Avatar 2?
I already dyed my skin blue in anticipation!
44%
I think I'll wait for the reviews
32%
I prefer movies about puppies and kittens!
24%
Total votes: 5970

Random image

Who hasn't dreamed of a pet crocodile?