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
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 03-30-2005, 01:27 PM   #1
GirlNinja
Confirmed User
 
GirlNinja's Avatar
 
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;

}
GirlNinja is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-30-2005, 01:36 PM   #2
StuartD
Sofa King Band
 
StuartD's Avatar
 
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.
StuartD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-30-2005, 01:42 PM   #3
GirlNinja
Confirmed User
 
GirlNinja's Avatar
 
Join Date: Jan 2004
Location: dirty south
Posts: 1,515
Quote:
Originally Posted by NichePay - StuartD
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.
two seemed to work out fine, and are you sure there's no way?
GirlNinja is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-30-2005, 01:44 PM   #4
StuartD
Sofa King Band
 
StuartD's Avatar
 
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
Quote:
Originally Posted by GirlNinja
two seemed to work out fine, and are you sure there's no way?
Yes, I'm sure. You can set vlinks and hlinks in the <body> tag if you wish, but that's separate of CSS.
If you insist on using CSS, then you have to set the a tags separate of the body tags.
StuartD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-30-2005, 02:01 PM   #5
Holly
Too lazy to set a custom title
 
Holly's Avatar
 
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
Holly is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-30-2005, 02:03 PM   #6
Tala
Fucked if I know
 
Join Date: Dec 2002
Location: Do you have a flag?
Posts: 23,368
Quote:
Originally Posted by Holly
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.
Example using your own code:

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



__________________

ICQ: 11120676 | Google: mindcrime | Skype: suitemindcrime|E-Mail: mindcrime AT gmail.com|PR girl with great writing skills for hire!!!! Contact me to work for YOU!|TECHIEMEDIA? 24/7 support from some of the best techs in the biz. Tell Jim that I sent you.
Tala is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-30-2005, 02:24 PM   #7
swedguy
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.
swedguy 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



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.