External CSS Stylesheets
How do I use external stylesheets?
External stylesheets allow you to put all the vital codes on one main page, then link to it from countless other pages. With this process, whenever you see the need to update your text colors, background image, etc, all you need to do is change the information on the one main stylesheet, instead of on the countless other pages.
Using a Stylesheet
First of all, open a text document with Notepad on your computer. All of your codes will go on this document. Do not include the start and end tags in this code!
When you're done, your stylesheet will look something like this.
body {
background:pink
}
td,p,body {
color:#000000;
font:10pt verdana;
font-weight:bold;
text-decoration:underline;
}
b {
color:#000000;
font-weight:bold;
}
i {
color:#000000;
font-weight:bold;
}
u {
color:#000000;
font-weight:bold;
}
a:link {
color:#000000;
font-weight:bold;
font-size:10pt;
font-family:verdana;
text-decoration:underline;
}
a:visited {
color:#000000;
font-weight:bold;
font-size:10pt;
font-family:verdana;
text-decoration:overline;
}
a:active {
color:#000000;
font-weight:bold;
font-size:10pt;
font-family:verdana;
text-decoration:line-through;
}
a:hover {
color:#000000;
font-weight:bold;
font-size:10pt;
font-family:verdana;
text-decoration:line-through;
}
body {
scrollbar-face-color:#000000;
scrollbar-shadow-color:#000000;
scrollbar-highlight-color:#000000;
scrollbar-3dlight-color:#000000;
scrollbar-darkshadow-color:#000000;
scrollbar-track-color:#000000;
scrollbar-arrow-color:#000000;
}
body {
cursor:crosshair
}
a:hover {
cursor:crosshair
}
Once you've finished adding in all the codes you want, save the text document, and upload it to your website. Change the file extension from ".txt" to ".css".
Then, on every page that you want the stylesheet to link to, you would add this code:
<link href="stylesheets.css" rel="stylesheet" type="text/css"/>
Just add the exact url of your stylesheet page to the code!