Click to See Complete Forum and Search --> : CSS Not Changing the link Underline Color
theflyingminst
03-21-2008, 11:10 PM
Hi I am having a strange issue, when I set a a link to have a certain color, the text changes to the assigned color but the underline is given the tex/body attribute.
I'm losin' my darned mind here, does anybody have any idear what's goin on?
Thanks.
jeremu
03-21-2008, 11:16 PM
You are losing your underline for the link?
can you post your css
theflyingminst
03-21-2008, 11:39 PM
Hey Jeremu, what's up? No no, not losin' 'em, actually I removed them with text-decoration: none; for now because the different line color was driving me crazy.
Anyway here's the CSS, thanks!
<style>
body {background:#000000 url('') no-repeat; }
body, .text { color:#FFFFFF;}
a, a:link, a:visited {color:#D6D6D6;}
.header { color:#FA261B;}
.blinks { color:#FFFFFF;}
.vall { color:#E80000;}
IMG.th { width: 148px }
</style>
jeremu
03-22-2008, 12:20 AM
I don't see the underline changing.
do you have the HTML I could see.
theflyingminst
03-22-2008, 12:32 AM
Thanks, yeah but you've gotta run it in a browser to see what I'm talking about: <a target="_blank" href="about.asp">
<font face="Arial" style="font-size: 11pt" class="blinks">Artist Info</a></font>
jeremu
03-22-2008, 12:42 AM
I ran this in IE 6 & FireFox.
I have a couple of comments:
<a target="_blank" href="about.asp">
<font face="Arial" style="font-size: 11pt" class="blinks">Artist Info</a></font>
needs to be:
<font face="Arial" style="font-size: 11pt" class="blinks"><a target="_blank" href="about.asp">Artist Info</a></font>
and I would recommend removing the font tag all together:
<a target="_blank" href="about.asp" style="font-family:Arial; font-size: 11pt" class="blinks">Artist Info</a>
but even better:
<style>
...
body, .text { font-family:Arial; font-size: 11pt; color:#FFFFFF;}
...
</style>
...
<a href="about.asp" target="_blank" class="blinks">Artist Info</a>
Let me know if that works.
theflyingminst
03-22-2008, 07:49 AM
Hey Jeremu, the 3rd one worked like a charm, thanks so much!