![]() |
![]() |
![]() |
||||
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
|
how do you set vlink and alink colors inside the body tag in CSS
i have to but it in the body tag for some reason, it's part of some "homework"
BODY { font-family: "Trebuchet MS", Arial, sans-serif; font-size: 14pt; color: 193C24; background-color: E4F9CC; } |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Sofa King Band
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
|
How many threads do you need asking this?
Anyway, there is no way to do that using css. You have to set the a tags separate from the body tags. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed User
Join Date: Jan 2004
Location: dirty south
Posts: 1,515
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Sofa King Band
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
|
Quote:
If you insist on using CSS, then you have to set the a tags separate of the body tags. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Too lazy to set a custom title
Join Date: Jun 2003
Location: Jesusland
Posts: 10,017
|
Are you sure you have to put it *in* the body element? Usually it's more like:
BODY { background: #000000 blah blah whatever; } A:LINK { color: #000000; } A:VISITED { color: #000000; } A:ACTIVE { color: #000000; } Otherwise, I think you'd have to use the body tag.
__________________
War National Damn Champions Eagle |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Fucked if I know
Join Date: Dec 2002
Location: Do you have a flag?
Posts: 23,368
|
Quote:
BODY { font-family: "Trebuchet MS", Arial, sans-serif; font-size: 14pt; color: 193C24; background-color: E4F9CC; } A:LINK { color: #000000; } A:VISITED { color: #000000; } A:ACTIVE { color: #000000; } ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Jan 2002
Posts: 7,981
|
If you do like this, it will only belong to the body tag
body a:active { color:white} body a:visited{ color:white} But it's basically the same since both covers the whole html page a:active {color:white} a:visited{ color:white} Search on CSS childs and you can read about it. |
![]() |
![]() ![]() ![]() ![]() ![]() |