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 01-16-2006, 07:32 PM   #1
Ca$h
Confirmed User
 
Join Date: Jan 2005
Location: Mars
Posts: 495
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??
__________________
$oIo$
Ca$h is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-16-2006, 07:42 PM   #2
Bird
Confirmed User
 
Bird's Avatar
 
Join Date: Jan 2005
Location: Stockton
Posts: 4,365
Change it to #ffffff
__________________
ICQ:268731675
Bird is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-16-2006, 07:44 PM   #3
Ca$h
Confirmed User
 
Join Date: Jan 2005
Location: Mars
Posts: 495
Quote:
Originally Posted by Bird
Change it to #ffffff
no more posts from you in this thread please
__________________
$oIo$
Ca$h is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-16-2006, 07:46 PM   #4
viki
Confirmed User
 
viki's Avatar
 
Join Date: Jan 2005
Posts: 2,640
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.
__________________

viki [at] realsexcash [dot] com
228 263 454
viki is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-16-2006, 07:47 PM   #5
Webby
Too lazy to set a custom title
 
Join Date: Oct 2002
Location: Far far away - as possible
Posts: 14,956
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??
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.
__________________
XXX TLD's - Another mosquito to swat.
Webby is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-16-2006, 07:48 PM   #6
Webby
Too lazy to set a custom title
 
Join Date: Oct 2002
Location: Far far away - as possible
Posts: 14,956
Exactly viki
__________________
XXX TLD's - Another mosquito to swat.
Webby is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-16-2006, 07:49 PM   #7
Abbie Bueller
Confirmed User
 
Join Date: Jul 2003
Location: Texas
Posts: 160
What he said.
Abbie Bueller is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-16-2006, 07:49 PM   #8
Basic_man
Programming King Pin
 
Basic_man's Avatar
 
Industry Role:
Join Date: Oct 2003
Location: Montreal
Posts: 27,360
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>
__________________
UUGallery Builder - automated photo/video gallery plugin for Wordpress!
Stop looking! Checkout Naked Hosting, online since 1999 !
Basic_man is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-16-2006, 07:52 PM   #9
Ca$h
Confirmed User
 
Join Date: Jan 2005
Location: Mars
Posts: 495
GREAT

Thanks to everyone!!!
__________________
$oIo$
Ca$h 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.