Solved

change color  for the values of my table??

Posted on 2002-04-10
1
153 Views
Last Modified: 2010-03-31
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
Comment
Question by:star5
1 Comment
 
LVL 9

Accepted Solution

by:
yongsing earned 5 total points
ID: 6932865
out.println("<FONT SIZE=+1 COLOR=\"FF0000\">");
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This video teaches viewers about errors in exception handling.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now