Link to an External Style Sheet

You need to first create a page and name it something such as stylesheet.css - this can be done on notepad. Just make sure that it isn't a text document (save it's file type as all documents), and then name it stylesheet.css.

Put this code on every page that you want your CSS to have affect on:

<LINK REL=stylesheet HREF="/stylesheet.css" TYPE="text/css">

The bolded part is where your stylesheet's name will go. Then, if done correctly, it will work!


This next part I give credit to Lissa Explains for explaining.

Here is a sample, remember not to add the style tags to your text file (external CSS):

A:link
{ text-decoration: none; }

body
{ background-color: #000000; }


And that's it! If you need help on anything related to this, just email me! I'll try to answer your questions and make it easier for you to learn. :)

Navigation

visitor owner website home

SOTM

Moon at Over The Sky!

Girl
Alex. 4teen. Septembers rule. Left-handed. Likes reading, pasta, polar bears, green, blue, writing, music...
More?Ask me!

Hostess
Thank you Manda!!!

Layout
V.13 Dandelion Music
Made 7.14.08
Took 7 hours
Using PSP
Pic Getty Images
Brushes & BG swimchick.net

Affies

Great graphics and fun! Apply?

Link Me



More?

Tagboard


Stats

eXTReMe Tracker

Back to Top