![]() |
CSS Question
I have CSS tags in the head of a webpage that makes visited images go grayscale.
The problem is I also have some "bookmark now" images on the page that are clickable, and I don't want those to go grayscale after they're clicked because it looks like shit. Anyone know how I can override the CSS for these particular images? Thanks |
You can do that:
that's normal links: a:link, a:visited{ color: #FFFF00; } that's links in table "td" td a:link, td a:visited { color: #DD0000; } when you've placed that link in invisible table it'll use that instead... You may also use p, div and some other tags.. |
Quote:
|
Kinda,
If you wish to use div, try that: div a:link, td a:visited { color: #00FF00; } You must define a new color, because none will revert to original link color, so it'll have no effect. |
pas =)
|
Just assign it a class, so you'll have class="classname" in your link tag, and
a.classname:visited, a.classname:active { color: #FA785A; } in your CSS file. :) |
All times are GMT -7. The time now is 06:21 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123