![]() |
![]() |
![]() |
||||
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 2004
Location: dirty south
Posts: 1,515
|
have a CSS question
how do you set visted link and active link colors in CSS?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Dec 2002
Location: Sweden/Spain you sum bitch!
Posts: 6,576
|
a:link {color: #FF0000}
a:visited {color: #00FF00} a:hover {color: #FF00FF} a:active {color: #0000FF} ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,372
|
a:link {
color: #A21569; } a:visited { color: #A21569; } a:hover { color: #A21569; } a:active { color: #A21569; }
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Jan 2004
Location: dirty south
Posts: 1,515
|
I want to set them inside the body tag:
BODY { font-family: "Trebuchet MS", Arial, sans-serif; font-size: 14pt; color: 193c24; background-color: e4f9cc; } |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Sofa King Band
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Join Date: Jan 2004
Location: dirty south
Posts: 1,515
|
Quote:
it's homework |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Too lazy to set a custom title
Join Date: Jan 2002
Location: Holland
Posts: 9,870
|
thats not the proper way to do it.
in css its a seperate tag in html its like <body alink=green etc
__________________
Don't let greediness blur your vision | You gotta let some shit slide icq - 441-456-888 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: May 2002
Posts: 1,488
|
Well it doesn't really make sense what your trying to do, but here are your options.
1. If you want something simple in the body for links then it would simply be: <body link="#0000FF" vlink="#66FF33" alink="#FF0000"> 2. If it has to be CSS then you can either but this in your header or call to a css sheet: <style> a:link {color: #FF0000; } a:visited {color: #66FF33; } a:active {color: #0000FF; } </style> The only real thing you can do as far as putting css in your body tag is to call to a particular element in the css by use of Class or Id selectors. I am by no means an expert and maybe someone else here knows more than I do and knows a better way to do it. Best advice to you is go to a book store and pick up Cascading Style Sheets by O'Reilly. CSS is very easy to learn.
__________________
![]() "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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Aug 2004
Posts: 2,490
|
I have a CSS question guys, what the hell does it stand for
__________________
Perfect for Asian, Petite,Teen, Exotic, Bikini, Solo girl, Panty, Softcore and Cameltoe Traffic 100% Exclusive Girls and Content
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Confirmed User
Join Date: May 2002
Posts: 1,488
|
Quote:
Style Sheet
__________________
![]() "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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Sofa King Band
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
It's coming look busy
Join Date: Mar 2001
Location: "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn".
Posts: 35,299
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Confirmed User
Join Date: Sep 2003
Location: Chicago
Posts: 468
|
http://www.w3schools.com/css/
http://www.w3schools.com/css/css_examples.asp pretty cool online tutorials
__________________
I have no sig...sigh |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Too lazy to set a custom title
Join Date: Nov 2002
Location: Virgin Mary's womb
Posts: 16,826
|
cheater!
__________________
Often times I wonder why There's love and hate, theres live or die. When sickness comes I must decide: When feelings go, theres suicide. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | |
Confirmed User
Industry Role:
Join Date: Jan 2002
Posts: 7,981
|
Taken from your other thread
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 | |
Confirmed User
Join Date: Jan 2005
Location: United Kingdom
Posts: 7,990
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
Too lazy to set a custom title
Industry Role:
Join Date: Oct 2002
Location: The Boonies
Posts: 12,860
|
Glad to see a CSS thread. I tried it out the other day and it totally didn't work. I'll read those tutorials posted. Thanks.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 | |
Confirmed User
Join Date: May 2002
Posts: 1,488
|
Quote:
__________________
![]() "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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 | |
Confirmed User
Join Date: May 2001
Posts: 2,944
|
Quote:
<body style="font-family: 'Trebuchet MS', Arial, sans-serif; font-size: 14pt; color: #193c24; background-color: #e4f9cc;"> You cannot however set the link attributes in this way. For those, the options have already been suggested. And btw font sizes in pt (as opposed to px) do not render the same size in every browser... |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 | |
Confirmed User
Join Date: Jan 2005
Location: United Kingdom
Posts: 7,990
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |