![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
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; } |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Join Date: Jan 2001
Location: EU
Posts: 6,103
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Join Date: Aug 2002
Location: The Netherlands, Rotterdam
Posts: 8,965
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |