Forum Moderators: not2easy

Message Too Old, No Replies

a:link CSS not working in Firefox

Iv tried just about everything, but it just refuses to work in FF

         

KeliJo

8:27 pm on May 16, 2008 (gmt 0)

10+ Year Member



Here is my coding....

<style>
body {background-color: #597a99;
font-family: Verdana;}
scrollbar-face-color:#597a99;
scrollbar-shadow-color:#597a99;
scrollbar-highlight-color:#597a99;
scrollbar-3dlight-color:#597a99;
scrollbar-darkshadow-color:#597a99;
scrollbar-track-color:#597a99;
scrollbar-arrow-color:#000000}
a:link {color: #000000; text-decoration: none}
a:visited {color: #000000; text-decoration: none}
a:hover {color: #5c82a4; text-decoration: underline}
a:active {color: #5c82a4; text-decoration: underline}
table {border-collapse: separate;
border-spacing: 5px 5px;
empty-cells: hide;
font-size: small;
font-family: Verdana;}
td {border: 2px solid black;
font-family: Verdana;
text-align: left;
vertical-align:top;
font-size: small;}
</style>

but no matter what I do I can't get the a:link to work in Firefox, I just want it black, but it shows up default colors. Someone even had me check my Firefox Preferences. With no luck. So all I can figure is I'm doing something wrong, and I'm pulling my hair out for something silly. So can anyone help me? Please..

Demaestro

8:34 pm on May 16, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You have a close bracket but no opening one.

body {background-color: #597a99;
font-family: Verdana;}
........
scrollbar-track-color:#597a99;
scrollbar-arrow-color:#000000} <-- (No open bracket)
a:link {color: #000000; text-decoration: none}

Since a:link is the next definition FF can't read it... for some reason IE can.

[edited by: Demaestro at 8:36 pm (utc) on May 16, 2008]

KeliJo

10:15 pm on May 16, 2008 (gmt 0)

10+ Year Member



Thank you so much. I knew if I just had to step away from it. Funny how something so little can cause you so much distress.

Thank you again.

Demaestro

10:45 pm on May 16, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



My pleasure and you are right. Sometimes you just have to leave and come back the next day. Usually it will come to you while you are eating cereal or having a seat in the washroom.

Happens to me often.

swa66

11:53 pm on May 16, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It also helps to validate all your code (it would have shown up there).