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 styles question (https://gfy.com/showthread.php?t=323359)

eiht_98 07-08-2004 02:01 AM

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.

bawdy 07-08-2004 02:23 AM

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;
}

Darkland 07-08-2004 02:45 AM

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

Darkland 07-08-2004 03:35 AM

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.

eiht_98 07-08-2004 06:02 AM

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 :thumbsup

johnbosh 07-08-2004 06:03 AM

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


All times are GMT -7. The time now is 05:31 PM.

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