mS_cLaiRe
08-15-2003, 05:11 AM
i'm making a site, and i don't know why, but if I put too much HTML on a page, i can't edit it anymore and it won't save anything. i think most of the space is caused by my css codes, so i wanted to try an external style sheet..but i can't understand the directions on this site =\
How do I link to an external style sheet? Add the following code in the <head> tag of your html document. You have to add this tag to every page you want to put the style sheet on:
<LINK href="mystylesheet.css" rel="stylesheet" type="text/css">
Add your style sheet to a plain text editor like Notepad or Simpletext. Make sure you name it with the .css extension. If you're having trouble saving it as .css, put it in quotes when you try to save it, for example: "mystylesheet.css." Here is a sample, remember not to add the style tags to your text file:
A:link
{ text-decoration: none; }
body
{ background-color: #000000; }
Upload the style sheet to your server and all of your pages will show the new style attributes. This is convienient because when you want to change the style of your whole site, you only have to edit and upload one small file to accomplish this.
do you just save it on notepad? and if you do, i don't understand how to save it as .css PLEASE help
How do I link to an external style sheet? Add the following code in the <head> tag of your html document. You have to add this tag to every page you want to put the style sheet on:
<LINK href="mystylesheet.css" rel="stylesheet" type="text/css">
Add your style sheet to a plain text editor like Notepad or Simpletext. Make sure you name it with the .css extension. If you're having trouble saving it as .css, put it in quotes when you try to save it, for example: "mystylesheet.css." Here is a sample, remember not to add the style tags to your text file:
A:link
{ text-decoration: none; }
body
{ background-color: #000000; }
Upload the style sheet to your server and all of your pages will show the new style attributes. This is convienient because when you want to change the style of your whole site, you only have to edit and upload one small file to accomplish this.
do you just save it on notepad? and if you do, i don't understand how to save it as .css PLEASE help