Thread: CSS problem...
View Single Post
Old 11-09-2003, 12:43 PM   #1 (permalink)
3zos
Insane
 
Location: USA
CSS problem...

I have been working on my website, but I am having a problem with some of the CSS.. this is the first time I have used CSS on a site, so I am not sure how to trouble shoot it.. I am trying to make a link that when you click on it, it displays a background image (mine is of a check) in the visited state, but i can never seem to make the background image show up. here is my code: (in the site i just have a div with the id set as sidebar, then the a href link)

css:

#sidebar a:link {
font-weight:normal;
text-transform:none;
text-align: center;
}
#sidebar a:hover {
font-weight:bold;
text-transform:none;
text-align: center;
}
#sidebar a:visited {
font-weight:normal;
text-transform:none;
text-align: center;
background: url(gifs/check.gif);
background-position: 100px;
background-repeat: no-repeat;
__________________
S U C C E S S

some people dream of success, while other people live to crush those dreams
3zos is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54