![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
I'm Lenny2 Bitch
Join Date: Mar 2001
Location: On top of my soapbox
Posts: 13,449
|
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
__________________
sig too big |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Nov 2002
Posts: 880
|
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.. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
I'm Lenny2 Bitch
Join Date: Mar 2001
Location: On top of my soapbox
Posts: 13,449
|
Quote:
__________________
sig too big |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Nov 2002
Posts: 880
|
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Apr 2004
Location: Europe
Posts: 872
|
pas =)
__________________
Free Domain Analysis Tool @ WebBoar.com. Domain worth, Same IP Domains, Google Analytics etc |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Apr 2003
Location: Chi-Town :)
Posts: 788
|
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. ![]()
__________________
SweetSpicy Pornstars |
![]() |
![]() ![]() ![]() ![]() ![]() |