GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   CSS Question (https://gfy.com/showthread.php?t=282235)

Snake Doctor 05-06-2004 02:22 AM

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

Arty 05-06-2004 04:29 AM

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..

Snake Doctor 05-06-2004 05:17 AM

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?

Arty 05-06-2004 05:43 AM

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.

GigaXXX 05-06-2004 07:35 AM

pas =)

MarcyM25 05-06-2004 11:20 AM

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