Solved

change color  for the values of my table??

Posted on 2002-04-10
1
159 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 9

Accepted Solution

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

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

628 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