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
Solved

change color  for the values of my table??

Posted on 2002-04-10
1
156 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
nextBoolean(double p) for Random class 3 41
Maven Project: Hibernate Dependencies Conflict 10 38
SHA2 certs for IIS AND Java? 2 113
Crystal Reports Licensing Questions 4 34
For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

860 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