Closed Thread Icon

Preserved Topic: Table cell background color (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=18144" title="Pages that link to Preserved Topic: Table cell background color (Page 1 of 1)" rel="nofollow" >Preserved Topic: Table cell background color <span class="small">(Page 1 of 1)</span>\

 
Burwell
Bipolar (III) Inmate

From: Drexel Hill, Pennsylvania
Insane since: Aug 2000

posted posted 06-13-2001 20:14

I am working on my newest site, and i am looking to make changing the colors of the site fairly simple. One of the methods that i chose was to use CSS. I am having some trouble changing the background color of a cell in the table. below i have put the code i am using in both the .css file and in my html. I appreciate your help.

------
css code
------
.newshead {
background-color : #F5DEB3;
font-size : 4pt;
font-weight : bold;
font-family : verdanda;
color : #000000;

------
html code
------
<td class\"newshead\">
<b>$title</b>
</td>

-------
P.S. the reason for the varibles and the backslashes is because i am using a php script that will output this code.

E-mail: Cburwell@netzero.net
ICQ#: 95194100

linear
Paranoid (IV) Inmate

From: other places
Insane since: Mar 2001

posted posted 06-13-2001 20:29

<td class=\"newshead\"> (missing equals)
also:
"verdana" (not verdanda)



[This message has been edited by linear (edited 06-13-2001).]

Burwell
Bipolar (III) Inmate

From: Drexel Hill, Pennsylvania
Insane since: Aug 2000

posted posted 06-13-2001 20:33

WOW! Was it just me or was that extremly embarrassing. I'll be right back i just need to pull my head out of my ass! Thanks again!

E-mail: Cburwell@netzero.net
ICQ#: 95194100

« BackwardsOnwards »

Show Forum Drop Down Menu