Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Text color in an alert box?

Status
Not open for further replies.

gdrenfrew

Programmer
Joined
Aug 1, 2002
Messages
227
Location
GB
Hi
Is it possible to set the color of the text displayed in an alert or a confirm box?

I've been trying this:

strMyString = "Are you sure?".fontcolor("green")
confirm(strMyString)

The output is this, instead of actually being green.
<FONT COLOR=&quot;green&quot;>Are you sure?</FONT>

Can anyone help?

Thanks
graeme. uk
 
gdrenfrew,

interesting attempt...unfortunately I don't think it's possible to change text color in an alert or confirm... =========================================================
if (!succeed) try();
-jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top