A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
Changing the color of a String variable
Joined: Jan 08, 2006
Jun 03, 2006 21:04:00
I want to know how i can change the color of a
variable, so that it looks like the say sort of color and font as in the html pages..
Code i tried is as follows..
<br><strong><font color="#FFFFFF" size="5" face="Georgia, Times New Roman, Times, serif">Welcome</font></strong>
I want the variable name also to get printed in font color="#FFFFFF" size="5" face="Georgia, Times New Roman, Times, serif".. Is this possible?
Tnx in advance
Author and ninkuma
Joined: Jan 10, 2002
Jun 03, 2006 22:53:00
Simple HTML and CSS just like anything else. Moved to the HTML forum.
Asking smart questions
Books by Bear
Joined: Nov 24, 2005
Jun 04, 2006 01:47:00
Yes, put the variable in the font tag body, next to "Welcome".
All roads lead to JavaRanch
I agree. Here's the link:
subject: Changing the color of a String variable
How normal are you?
SQL and JSP
How to pass more than 1 parameters into the sevlet???
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015