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 11-07-2003, 01:52 PM   #1
MarcS
Confirmed User
 
Join Date: Aug 2002
Posts: 139
CSS help needed

here is my problem
I have this css class
.table_header {
color: #FFA34F; font-size: 12; font-weight : bold;
background-color: #006699; height: 25px;
text-align: center;


}

I use it like this:

tr class="table_header"

as you can see the background color is blue (almost blue)

my default color for links is blue and I'd like to change the link color within the table_header class

I tried
.table_header:link {
color: white; font-size: 12; font-weight : bold;
background-color: #006699; height: 25px;
text-align: center;


}

but that didn't work

any ideas?
MarcS is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-07-2003, 02:00 PM   #2
The Truth Hurts
Zph7YXfjMhg
 
The Truth Hurts's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: In Your Skull
Posts: 15,647
.table_header a:link {defined here}
.table_header a:visited {defined here}
.table_header a:hover {defined here}
.table_header a:active {defined here}
The Truth Hurts is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-07-2003, 02:01 PM   #3
Juggernaut
Confirmed User
 
Join Date: Jan 2003
Location: Brisbane, Australia
Posts: 753
Try this, edit the elements to suit.


.table_header { font-family: Verdana, Arial, Helvetica, Sans-Serif; font-size: 10px; color: #FFFFFF;}
.table_header a { color: #FFFFFF; text-decoration: none;}
.table_header a:hover { color: #486582; text-decoration: none;}
.table_header a:active { color: #FFFFFF; text-decoration: none;}
Juggernaut is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-07-2003, 02:06 PM   #4
MarcS
Confirmed User
 
Join Date: Aug 2002
Posts: 139
trying this now
MarcS is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-07-2003, 02:07 PM   #5
evilregis
Confirmed User
 
Join Date: Oct 2003
Location: Canada
Posts: 163
or you could:

a.linkstyle1:link {style attributes}
a.linkstyle1:visited {style attributes}
etc.

it works but it's more of a pain in the ass because you have to add class="linkstyle1" to each of your links.
__________________
eR
:: beauty is in the eye of the beer-holder ::
evilregis is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-07-2003, 02:22 PM   #6
MarcS
Confirmed User
 
Join Date: Aug 2002
Posts: 139
it seems like as soon as I put
a:link, a:active, a:visited { color : #006699; }
in there to apply this to all the other links that are not inside the table_header span it overrides
.table_header a { color: #FFFFFF;}

any ideas how that could be fixed?
MarcS is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-07-2003, 02:30 PM   #7
The Truth Hurts
Zph7YXfjMhg
 
The Truth Hurts's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: In Your Skull
Posts: 15,647
i just tried it my way and it works fine.

put up a link to the page you're working on.
The Truth Hurts is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-07-2003, 03:31 PM   #8
sweet7
Confirmed User
 
Join Date: May 2003
Posts: 1,792
Quote:
Originally posted by The Truth Hurts
i just tried it my way and it works fine.

put up a link to the page you're working on.
Yup your way works fine.
__________________
ICQ: 282814268
sweet7 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.