Hi All
I am trying to use the following style sheet on my site:
<code>
<STYLE>
body {
BACKGROUND-Attachment: fixed;
BACKGROUND-Repeat: no-repeat;
BACKGROUND-Color: #FFFFFF;
COLOR #000000;
FONT-size: 12pt;
FONT-Family: 'arial';
FONT-Weight: bold;
MARGIN-Top: 5;
SCROLLBAR-FACE-COLOR: #00BFFF;
SCROLLBAR-HIGHLIGHT-COLOR: #00BFFF;
SCROLLBAR-SHADOW-COLOR: #000000;
SCROLLBAR-3DLIGHT-COLOR: #000000;
SCROLLBAR-ARROW-COLOR: #000000;
SCROLLBAR-TRACK-COLOR: #87CEFA;
SCROLLBAR-DARKSHADOW-COLOR: #00BFFF;
}
h1 { color:#00bfff;FONT-Weight: bold;text-align:center; }
h2 { color:#00bfff;FONT-Weight: bold;text-align:center; }
h3 { color:#00bfff;FONT-Weight: bold;text-align:left; }
ol { list-style-type:disc; }
A:link { color: 00BFFF; background:#FFFFFF }
A:visited { color: 800080; background:#FFFFFF }
A:hover { color: 0000FF; background:#FFFFFF }
A:active { color: 6495ED; background:#FFFFFF }
</STYLE>
</code>
When I use it as an internal sheet then it works fine, but when I try to use it as an external style sheet and link to it using <LINK rel="stylesheet" href="main_style.css" type="text/css"> it only half works. The headers are the correct color and aligned where I want them but nothing else works. The text remains at Times New Roman (I think) and my list is a numbered list instead of a disc style. Is there something wrong with the way I am linking to it externally? I have put the <LINK> tag below the <title> tag and above the </head> tag. Can someone help please as I don't want to use it as an internal sheet as all the pages have the same formatting.
Thanks
Naiku
I am trying to use the following style sheet on my site:
<code>
<STYLE>
body {
BACKGROUND-Attachment: fixed;
BACKGROUND-Repeat: no-repeat;
BACKGROUND-Color: #FFFFFF;
COLOR #000000;
FONT-size: 12pt;
FONT-Family: 'arial';
FONT-Weight: bold;
MARGIN-Top: 5;
SCROLLBAR-FACE-COLOR: #00BFFF;
SCROLLBAR-HIGHLIGHT-COLOR: #00BFFF;
SCROLLBAR-SHADOW-COLOR: #000000;
SCROLLBAR-3DLIGHT-COLOR: #000000;
SCROLLBAR-ARROW-COLOR: #000000;
SCROLLBAR-TRACK-COLOR: #87CEFA;
SCROLLBAR-DARKSHADOW-COLOR: #00BFFF;
}
h1 { color:#00bfff;FONT-Weight: bold;text-align:center; }
h2 { color:#00bfff;FONT-Weight: bold;text-align:center; }
h3 { color:#00bfff;FONT-Weight: bold;text-align:left; }
ol { list-style-type:disc; }
A:link { color: 00BFFF; background:#FFFFFF }
A:visited { color: 800080; background:#FFFFFF }
A:hover { color: 0000FF; background:#FFFFFF }
A:active { color: 6495ED; background:#FFFFFF }
</STYLE>
</code>
When I use it as an internal sheet then it works fine, but when I try to use it as an external style sheet and link to it using <LINK rel="stylesheet" href="main_style.css" type="text/css"> it only half works. The headers are the correct color and aligned where I want them but nothing else works. The text remains at Times New Roman (I think) and my list is a numbered list instead of a disc style. Is there something wrong with the way I am linking to it externally? I have put the <LINK> tag below the <title> tag and above the </head> tag. Can someone help please as I don't want to use it as an internal sheet as all the pages have the same formatting.
Thanks
Naiku