Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 163
  • Last Modified:

change color for the values of my table??

how to change the color of the contents :
i have this code how to do so :
i want to print the total salary in different color

out.println("<TR>");
                out.println("<TD" +" ALIGN=CENTER"+ " COLSPAN=2"+ " BGCOLOR="+ COLORS[2]+">");
                out.println("<FONT SIZE=+1>");
                out.println("<b>TOTAL SALARY :</b>");
                out.println(totalsalary);
                out.println("<b>O.R</b>");
                out.println("</FONT>");
                out.println("</TD>");
                out.println("</TR>");
0
star5
Asked:
star5
1 Solution
 
yongsingCommented:
out.println("<FONT SIZE=+1 COLOR=\"FF0000\">");
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now