NameSilo

CSS Help... ASAP...

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Spacemail by SpaceshipSpacemail by Spaceship
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
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
.first a {color:#000 }

would mean to apply the color all links that are within the element with class first
 
0
•••
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
•••
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
•••
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
•••
Dynadot — .com TransferDynadot — .com Transfer
Truehost — .com domains from $4.99, hosting includedTruehost — .com domains from $4.99, hosting included

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back