View Full Version : td bgcolor + border


the_dark_one02
01-16-2003, 06:10 PM
I used this code in my css but it didnt work so im guessing its wrong, i want it to make all my td's that color wats wrong, whatshould i do???

td
{ border:1;border-color:#000050; bgcolor:#000040; align:left; valign:top; }

epolady
01-16-2003, 06:27 PM
This should work-

td
{
border: 1px solid #000050;
bgcolor:#000040;
align:left;
vertical-align: top;
}

the_dark_one02
01-16-2003, 06:30 PM
oh thanks that worked great!!
eccept for the

bgcolor:#000040;

but i changed it to

background-color:#000040;

and it worked
thanks for the rest though

epolady
01-16-2003, 06:34 PM
Oops! Sorry about that, I should've seen that. lol. Sorry. Glad it works though. That's the first time I've heard of/used vertical-align.