|
|
|
||||
|
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: 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? |
|
|
|
|
|
#2 |
|
Zph7YXfjMhg
Industry Role:
Join Date: Nov 2002
Location: In Your Skull
Posts: 15,648
|
.table_header a:link {defined here}
.table_header a:visited {defined here} .table_header a:hover {defined here} .table_header a:active {defined here} |
|
|
|
|
|
#3 |
|
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;} |
|
|
|
|
|
#4 |
|
Confirmed User
Join Date: Aug 2002
Posts: 139
|
trying this now
|
|
|
|
|
|
#5 |
|
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 :: |
|
|
|
|
|
#6 |
|
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? |
|
|
|
|
|
#7 |
|
Zph7YXfjMhg
Industry Role:
Join Date: Nov 2002
Location: In Your Skull
Posts: 15,648
|
i just tried it my way and it works fine.
put up a link to the page you're working on. |
|
|
|
|
|
#8 | |
|
Confirmed User
Join Date: May 2003
Posts: 1,792
|
Quote:
__________________
ICQ: 282814268 |
|
|
|
|