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.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 05-06-2004, 02:22 AM   #1
Snake Doctor
I'm Lenny2 Bitch
 
Snake Doctor's Avatar
 
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
Snake Doctor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-06-2004, 04:29 AM   #2
Arty
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..
Arty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-06-2004, 05:17 AM   #3
Snake Doctor
I'm Lenny2 Bitch
 
Snake Doctor's Avatar
 
Join Date: Mar 2001
Location: On top of my soapbox
Posts: 13,449
Quote:
Originally posted by Arty
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..
So could I use something like div style = none?
__________________
sig too big
Snake Doctor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-06-2004, 05:43 AM   #4
Arty
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.
Arty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-06-2004, 07:35 AM   #5
GigaXXX
Confirmed User
 
GigaXXX's Avatar
 
Join Date: Apr 2004
Location: Europe
Posts: 872
pas =)
__________________
Free Domain Analysis Tool @ WebBoar.com. Domain worth, Same IP Domains, Google Analytics etc
GigaXXX is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-06-2004, 11:20 AM   #6
MarcyM25
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
MarcyM25 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.