Dynadot .com transfer sale, only $10.12 with coupon code DYNA12, available while supplies last, ends October 31, 2026.

CSS Help... ASAP...

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch

PoorDoggie

Soon to be RICHdoggie!VIP Member
Impact
18
Need help ASAP...

I am making a script for a client: here is [part of] the CSS I am using:

Code:
a{
     color: #ffffff;
}

.first{
     background-color: #ffffff;
     color: #000000;
}

Here is the code I want to apply it to:

Code:
<table>
<tr>
<td class="first"><a href="a-page.php">Text</a></td>
</tr>
</table>

this unfortunately displays the link as white so that it dosen't show up in the background! How would I make it so that in a "td" with the class "first", links are displayed in black?

Thanks in advance! :)
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
.first a {color:#000 }

would mean to apply the color all links that are within the element with class first
 
0
Close
great thanks... also, I was wondering if there was any way to put 2 backgrounds on one site, one infront of the other?

Thanks! :)
 
0
Close
Yes, in fact, there is. Oh, and by the way, #FFFFFF is white. I don't exactly feel like typing, but it uses Javascript to redefine a CSS defintion of your background. Look around for a tutorial. I looked but couldn't find one.
 
0
Close
Thanks couppi, I will have a look! :)

couppi said:
Oh, and by the way, #FFFFFF is white

huh? I know #ffffff is white, but the link was also white so therefore it wouldn't show up infront of of the background color
 
0
Close
Appraise.net

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Member card: see how many threads a member started
The member card now shows a Threads number, right after Posts. The member card is the box that opens when you point at a name. Profile...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back