AboutAnthony Levensalor Experience I have been programming in Java and Javascript since 1998. I run a web development company that specializes in Ajax front ends with PHP/MySQL back ends. I am a Sun Certified Java 2 Developer, and have done nothing but web applications for the last two years in my business
Past/Present clients Monster.com, Compuware Corporation, Flextronics International, Pragmatech Software, Open Travel Software, The Loss Mitigation Institute, Raw Story Media, Page One News Media.
Expert: Anthony Levensalor Date: 11/3/2007 Subject: Javascript, change text color when document writes
Question The text prints todays date in default black on the test page. In the code below, what variables need to be added to specify other text colors when the document writes ?
The write() function itself is not so much for formatting as just the raw output of whatever you put in it. Surrounding that area with fonts and other stylizing elements should turn the trick.