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 07-08-2004, 02:01 AM   #1
eiht_98
Confirmed User
 
Join Date: Jan 2001
Location: EU
Posts: 6,103
css styles question

How do I make two different link styles with css since I already have "a:link" defined? I would like different types of links on my site made with css.

Thnaks.
eiht_98 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-08-2004, 02:23 AM   #2
bawdy
Confirmed User
 
Join Date: Feb 2002
Posts: 1,424
something like:

.catLink a:link {
color: #000000;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
text-decoration: none;
}
.catLink a:active {
color: #000000;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
text-decoration: none;
}
.catLink a:visited {
color: #000000;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
text-decoration: none;
}
.catLink a:hover {
color: #000000;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
text-decoration: none;
}
bawdy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-08-2004, 02:45 AM   #3
Darkland
Confirmed User
 
Darkland's Avatar
 
Join Date: May 2002
Posts: 1,488
Bawdy was on the right track. Below is how to make links different and on the first one I expounded on the different states of the link, ie. active, visited, etc.

A.red {
font-family: Arial;
font-size: 8pt;
font-weight: bold;
text-align: center;
color: #FF0000;
}

A.red:active {
color: #0000FF
}

A.red:visited {
color: #00FFFF
}

A.blue {
font-family: Arial;
font-size: 12pt;
font-weight: bold;
text-align: center;
color: #0000FF;
}

A.yellow {
font-family: Arial;
font-size: 20pt;
font-weight: bold;
text-align: center;
color: #FFFF00;
}

Now what you do is ad the CLASS attribute into the correct href tag. CLASS="red" or fully <a href="whatever" CLASS="red">


Actually it looks like GFY is mangling it, if you want ICQ me or email me and I will help you.
#65192007
john at tna.biz

Hope that helps you...
__________________


"The towers are gone now, reduced to bloody rubble, along with all hopes for Peace in Our Time, in the United States or any other country. Make no mistake about it: We are At War now -- with somebody -- and we will stay At War with that mysterious Enemy for the rest of our lives." H.S.T. 09/12/01

Last edited by Darkland; 07-08-2004 at 02:49 AM..
Darkland is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-08-2004, 03:35 AM   #4
Darkland
Confirmed User
 
Darkland's Avatar
 
Join Date: May 2002
Posts: 1,488
I made a quick page for you to view, has the code and working example links.

Click Here for Code

That should hook you up with what you wanted.
__________________


"The towers are gone now, reduced to bloody rubble, along with all hopes for Peace in Our Time, in the United States or any other country. Make no mistake about it: We are At War now -- with somebody -- and we will stay At War with that mysterious Enemy for the rest of our lives." H.S.T. 09/12/01
Darkland is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-08-2004, 06:02 AM   #5
eiht_98
Confirmed User
 
Join Date: Jan 2001
Location: EU
Posts: 6,103
Quote:
Originally posted by Darkland
I made a quick page for you to view, has the code and working example links.

Click Here for Code

That should hook you up with what you wanted.
wow...thanks man....nice job
eiht_98 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-08-2004, 06:03 AM   #6
johnbosh
Confirmed User
 
Join Date: Aug 2002
Location: The Netherlands, Rotterdam
Posts: 8,965
Quote:
Originally posted by Darkland
I made a quick page for you to view, has the code and working example links.

Click Here for Code

That should hook you up with what you wanted.
wow you are big help:D
johnbosh 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.