Forum Moderators: not2easy

Message Too Old, No Replies

links not showing up as they should

         

underestimated

6:25 pm on May 13, 2004 (gmt 0)

10+ Year Member



Hi all,

got a bit of a problem with my links not "taking the style" of my css doc

its just using the default link colours in IE

heres my css:


body {

text-align: center;
color: #555753;
background: #E09A0F;

a:link {
font-weight: bold;
text-decoration: none;
color: #000000;
padding: 0px 5px 0px 5px;
}

a:visited {
font-weight: bold;
text-decoration: none;
color: #DDDDDD;
padding: 0px 5px 0px 5px;
}

a:hover, a:active {
text-decoration: underline;
color: #000000;
padding: 0px 5px 0px 5px;
}

im linking the css doc like this


<link rel="stylesheet" type="text/css" href="latestarticles.css">

i cant see anything wrong with my code :\

any ideas?

help would be much appreciated :)

Thanks

Ue

encyclo

6:58 pm on May 13, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You're missing a closing bracket "}" after your body styles. Is this because of the cut-and-paste, or is it like that in your file? If the latter, that may well be what's causing the problem.

Does the CSS file validate?

[jigsaw.w3.org...]

underestimated

8:42 pm on May 13, 2004 (gmt 0)

10+ Year Member



Thank encyclo,
it was the closing { bracket
dont know how i missed such an obvious mistake lol :)

thanks again

Ue