Click to See Complete Forum and Search --> : color strings


z_mirza
03-30-2003, 12:13 PM
hey guys this might seem like a dumb question but how do you make a string and give it a red color? in scrpit not html

Ice3T
03-30-2003, 12:51 PM
if your string does not exist yet:
document.write(<font color='red'>your text here</font>)


if you just want to change the color of existing text
onEvent="this.color='red'" in its font tag or other tag

z_mirza
03-30-2003, 12:52 PM
thanx