i'm trying to get my thumbs to turn "grey" when they have been visited. i'm calling my .css file with the code "<link rel=stylesheet href=stylesheet.css type=text/css>" in my html header. i have tried inserting ".visited { FILTER: Gray }" in my .css file but it doesn't seem to work. what am i doing wrong?
need help with cascading stylesheets...
Collapse
X
-
Perhaps thecpathcto thecstyle sheet is incorrect?

NAKED HOSTING FTW!11 I'm On The INSANE PLAN $9.95/mo!
| The Alien Blog Adult News Worth Reading Updated Daily
| Content For Sale! 641 PICS 216 MINUTES OF VIDEO $350.00 |ICQ: 78943384 |Comment
-
agnostic beliefs. desecrate the holy.
Want an Android App for your tube, membership, or free site?
Need banners or promo material? Hit us up (ICQ Fletch: 148841377) or email me fletchxxx at gmail.com -
recent work - About meComment
-
a visited: {color:CCCCCC};
If your image is a link, then you don't need to tell the css that it is. In some browsers, that will "confuse" it.
Only problem is that the above will turn ALL of your visited links grey.Comment
-
Originally posted by Fletch XXXagnostic beliefs. desecrate the holy.
Comment
-
It may be your syntax is buggared. Is there a way we can look at the stylesheet you have made and maybe catch something you're not?Originally posted by eMonkyeah you right... but... still didn't work...
Comment
-
that didn't work...Originally posted by Talaa visited: {color:CCCCCC};
If your image is a link, then you don't need to tell the css that it is. In some browsers, that will "confuse" it.
Only problem is that the above will turn ALL of your visited links grey.
Comment
-
here's my .css file...
a:link {
text-decoration: none;
color: #4E3C1D;
}
a:visited {
text-decoration: none;
color: #4E3C1D;
}
a:hover {
text-decoration: none;
color: #FFFFFF;
}
a:hover img
{
border: 1px solid #FFFFFF;
}
a:active {
text-decoration: none;
color: #FFFFFF;
}Comment
-
Wierd. I have an issue like yours with one of My sites. Seems I can see the links correctly in Opera, but no one else seems able to see the right damn color. *sigh*Comment
-
Are you trying to get it to hover gray or are you trying to get the visited one to go gray?Originally posted by eMonkhere's my .css file...
a:link {
text-decoration: none;
color: #4E3C1D;
}
a:visited {
text-decoration: none;
color: #4E3C1D;
}
a:hover {
text-decoration: none;
color: #FFFFFF;
}
a:hover img
{
border: 1px solid #FFFFFF;
}
a:active {
text-decoration: none;
color: #FFFFFF;
}Comment
-
Your code and Nickless code are not the same. try his it works. myou might also try putting the code directly in the file and not draw it from a seperate css file.Comment
-
when i refresh the page all the images that i visited go back to normal color which is normal. but i also have images to these dvd movies at the bottom of my page that stay gray even when the page is refreshed... why? kinda don't want these dvd covers to stay gray..Comment
-
No way around this unless you use some dirty tricks as putting your banners into an iframe (which i'm not sure will do the trick) or even more fucked up using .swf (flash) for banners or a javascript if/then thing for each thumb or banner,overkill and not worth it for a minimal cosmetic issue.Originally posted by eMonkwhen i refresh the page all the images that i visited go back to normal color which is normal. but i also have images to these dvd movies at the bottom of my page that stay gray even when the page is refreshed... why? kinda don't want these dvd covers to stay gray..
Comment
-
<style>
a:hover img {FILTER:Grey}
a:active img {FILTER:Grey}
</style>I'm not a porn monger. I'm a porn ... STYLIST!
Buildit Cheap, build it Fast, Build it Right. - Pick Two.Comment


Comment