kwilliams
12-10-2003, 11:37 AM
Basically. the basic links for my CSS show up with the default blue. This is the beginning of my site's CSS concerning link properties:
<style type="text/css">
a:link {font-family:arial; font-size:12px; font-style:normal; font-weight:normal; letter-spacing:normal; text-decoration:underline; color:330066; }
a:visited {font-family:arial; font-size:12px; font-style:normal; font-weight:normal; letter-spacing:normal; text-decoration:underline; color:330066; }
a:hover {color:ff0000; text-decoration:none;}
a:active {font-family:arial; font-size:12px; font-style:normal; font-weight:normal; letter-spacing:normal; text-decoration:underline; color:330066; }
I made sure to put the selectors in the W3 suggested order of:
a:link
a:visited
a:hover
a:active
...but something weird happens. When I attach this CSS as a server-side include, it works fine. But when I try to change the SSI to a linked CSS (i.e. <link rel="stylesheet" href="ScriptLibrary/stylesheet.css">), it doens't work properly.
You can see an example of how my CSS works here:
http://www.douglas-county.com/index.asp
And how it doesn't work here:
http://www.douglas-county.com/index2.asp
Any suggestions would be appreciated. Thanks.
<style type="text/css">
a:link {font-family:arial; font-size:12px; font-style:normal; font-weight:normal; letter-spacing:normal; text-decoration:underline; color:330066; }
a:visited {font-family:arial; font-size:12px; font-style:normal; font-weight:normal; letter-spacing:normal; text-decoration:underline; color:330066; }
a:hover {color:ff0000; text-decoration:none;}
a:active {font-family:arial; font-size:12px; font-style:normal; font-weight:normal; letter-spacing:normal; text-decoration:underline; color:330066; }
I made sure to put the selectors in the W3 suggested order of:
a:link
a:visited
a:hover
a:active
...but something weird happens. When I attach this CSS as a server-side include, it works fine. But when I try to change the SSI to a linked CSS (i.e. <link rel="stylesheet" href="ScriptLibrary/stylesheet.css">), it doens't work properly.
You can see an example of how my CSS works here:
http://www.douglas-county.com/index.asp
And how it doesn't work here:
http://www.douglas-county.com/index2.asp
Any suggestions would be appreciated. Thanks.