Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

if then bgcolor =

Status
Not open for further replies.

davmold

IS-IT--Management
Jul 16, 2007
29
0
0
US
hello I am having some problems with a script that I am writing I have a table and I want a number to apperar if is = 12
Code:
 rsGuestbook("perstat").value = 12 then response.write   "<center><b><font color=""black""><bgcolor=""green"">"                        & rsone("perstat").value &  "</center></b></font>"

according to my calculations this should give me the font color black and the background color of the cell green

all I get is the font color but no background
 
then what could I use to make the background change color?
 
thanks guitardave78 but that also just changed the font color the background color does not change
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top