View Full Version : CSS a:link tag not working...


Jenn00b
07-17-2003, 08:16 AM
All the rest of my CSS works, but just not this part of it. It shows up blue instead of the chosen purple color. Here's the code, and here's a link (http://n00bsquad.the-matte.net) to the site so you can see what I mean. (The site uses four different .css files, one for the index and three for each individual blogger)
The code: <style type="text/css">

A:link
{ text-decoration: none; color:#C811FF; background-color:#FFFFFF; }
A:visited
{ text-decoration: none; color:#C811FF; background-color:#FFFFFF; }
A:active
{ text-decoration: none; color:#C811FF; background-color:#FFFFFF; }
A:hover
{ text-decoration: none; color:#FFFFFF; background-color:#C811FF; }


body
{ background-color: transparent;


font-family: tahoma;
color: #000000 ;
filter: dropshadow(Color=#C811FF, OffX=1, OffY=1, positive=1);
font-weight: normal;
font-size: 8pt;

scrollbar-face-color : #63DEFF;
scrollbar-highlight-color : #63DEFF;
scrollbar-3dlight-color : #63DEFF; scrollbar-shadow-color : #63DEFF;
scrollbar-darkshadow-color : #63DEFF; scrollbar-track-color : #63DEFF;
scrollbar-arrow-color : #C811FF; }

input, textarea
{ background: transparent ;
font-family: tahoma;
color: #000000 ;
filter: dropshadow(Color=#C811FF, OffX=1, OffY=1, positive=1);
border-style: dashed;
border-color: #000000;
border-width: 1; }

</style>


Thanks for your help!

Lissa
07-17-2003, 01:28 PM
I don't see a problem with the code you listed, but since you link to your style sheet I can't see the code on the actual page.

pb&j
07-17-2003, 02:05 PM
external style sheets should not have these tags on it...

<style type="text/css">

and

</style>

take those out and see.

your index page also seems to be missing the ending body and html tags.

Jenn00b
07-17-2003, 03:55 PM
Originally posted by Lissa
I don't see a problem with the code you listed, but since you link to your style sheet I can't see the code on the actual page.

Since I link to the stylesheets, doesn't that also mean they are the same (I editted all of the stylesheets from that base one I posted, and they're all identical (besides the colors, and some other attributes) so I'm still confused as to why they look that way.

Also, I took out the style tags at the beginning, and it worked! Thanks so much, pb&j! :)