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
|