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 Gurus Help! (https://gfy.com/showthread.php?t=564610)

Ca$h 01-16-2006 07:32 PM

CSS Gurus Help!
 
<style TYPE="text/css">
<!--

body {bgcolor=#000000; font-size:10pt; color: #ffffff; font-family: Arial, Helvetica, sans-serif}
td {font-size:16pt; color: #ffffff; font-family: Arial, Helvetica, sans-serif}

A:link {text-decoration: none; color: #ffffff;}
A:visited {text-decoration: none; color: #C4CB0E;}
A:active {text-decoration: underline; color: #C4CB0E;}
A:hover {text-decoration: underline; color: #C4CB0E;}

--></style>

Im using that CSS on my site, so ALL visited links are #C4CB0E
Bu I don't want all visited links to be #C4CB0E

For example I want:
visited Link1 to be: #C4CB0E
visited Link2 to be: #FFFFFF

How do I make that possible with CSS?? :upsidedow

Bird 01-16-2006 07:42 PM

Change it to #ffffff

Ca$h 01-16-2006 07:44 PM

Quote:

Originally Posted by Bird
Change it to #ffffff

no more posts from you in this thread please

viki 01-16-2006 07:46 PM

a.link2:visited {text-decoration: none; color: #ffffff;}

<a class="link2" href="domain.com">link text</a>

adding .link2 or any name creates a class, which can then be activated in individual tags with class="link2." Hope this helps.

Webby 01-16-2006 07:47 PM

Quote:

Originally Posted by Ca$h
<style TYPE="text/css">
<!--

body {bgcolor=#000000; font-size:10pt; color: #ffffff; font-family: Arial, Helvetica, sans-serif}
td {font-size:16pt; color: #ffffff; font-family: Arial, Helvetica, sans-serif}

A:link {text-decoration: none; color: #ffffff;}
A:visited {text-decoration: none; color: #C4CB0E;}
A:active {text-decoration: underline; color: #C4CB0E;}
A:hover {text-decoration: underline; color: #C4CB0E;}

--></style>

Im using that CSS on my site, so ALL visited links are #C4CB0E
Bu I don't want all visited links to be #C4CB0E

For example I want:
visited Link1 to be: #C4CB0E
visited Link2 to be: #FFFFFF

How do I make that possible with CSS?? :upsidedow

Suppose it depends how much there is ya want to change from the default css, but you may want to add additional options in your css for extra link styles eg

.linkstyle1 a, .linkstyle1 a:link, .linkstyle1 a:visited { color: #000099; }
.linkstyle1 a:hover { color: #000000; }

(adjust colors to whatever)

and span them on the acutal page.

Webby 01-16-2006 07:48 PM

Exactly viki :thumbsup

Abbie Bueller 01-16-2006 07:49 PM

What he said.

Basic_man 01-16-2006 07:49 PM

Quote:

Originally Posted by viki
a.link2:visited {text-decoration: none; color: #ffffff;}

<a class="link2" href="domain.com">link text</a>

adding .link2 or any name creates a class, which can then be activated in individual tags with class="link2." Hope this helps.


Good answer. And if doesn't work this way, try this :

<a href="domain.com"><span class="link2">Llink text</span></a> :thumbsup

Ca$h 01-16-2006 07:52 PM

GREAT

Thanks to everyone!!!


All times are GMT -7. The time now is 03:19 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123