12/03/2004

I've been trying unsuccessfully to debug the Sharkdog Records website - in Firefox, links that haven't been visited are showing up as a terrible blue color, instead of the light gray specified in the style sheet. But once you click on a link, it shows up like it should. I just took a crash course in style sheets which was very informative but did not help solve the problem, since everything in the style sheet and HTML is correct.

Is it just Firefox? I was looking around for a way to tinker with display options, but it doesn't seem to have that many. Maybe I'll check around for a relevant extension.

Here's the .css code for those who know what I'm talking about:

A:LINK {
color: #CCCCCC;
text-decoration : none;
font : verdana;
}
A:VISITED {
color: #CCCCCC;
text-decoration : none;
font : verdana;
}
A:ACTIVE {
color: #CCCCCC;
text-decoration : none;
font : verdana;
}
A:HOVER {
color: #E5C52A;
text-decoration : none;
font : verdana;
}


A.nyheter:LINK {
color: #FF9900;
text-decoration : none;
font : verdana;
}
A.nyheter:VISITED {
color: #FF9900;
text-decoration : none;
font : verdana;
}
A.nyheter:ACTIVE {
color: #FF9900;
text-decoration : none;
font : verdana;
}
A.nyheter:HOVER {
color: #FFFFFF;
text-decoration : none;
font : verdana;
}

body {
scrollbar-face-color: #FFFFFF;
scrollbar-highlight-color: #FFFFFF;
scrollbar-shadow-color: #333333;
scrollbar-3dlight-color: #FFFFFF;
scrollbar-arrow-color: #333333;
scrollbar-track-color: #FFFFFF;
scrollbar-darkshadow-color: #FFFFFF;
}

INPUT, TEXTAREA {
background : #223057;
background-color : #223057;
border : 1px solid #000000;
color: #CCCCCC;
font : 10px Verdana;
font-family : Verdana;
font-size : 10px;
}

TABLE, TD, TH, TR {
font : 10px Verdana;
font-family : Verdana;
font-size : 10px;
}

td.welcome {
font : 14px Verdana;
font-family : Verdana;
font-size : 14px;
}


You can view the SDR website here. If you have Firefox installed, take a look at it and let me know how the links look, ok?

2 Comments:

Blogger Justin said...

They were all gray except for "contact," which turned and stayed gray after I clicked on it. But I have been before, so maybe it just saved all the times I've clicked the links before.

I think some part of me would enjoy the repetitive, intricate aspects of computer encoding. Some other part of me pokes and makes fun of that part, though.

1:48 AM  
Blogger Brandon said...

Well, it's been fixed. And let me tell you - as tedious as coding and debugging are, when you actually solve a problem you're on top of the world.

2:55 AM  

Post a Comment