View Single Post
Old 01-30-2013, 06:13 PM   PM User | #2
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,465
Thanks: 0
Thanked 499 Times in 491 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
What browser are you expecting your visitors to use - Netscape 3 perhaps?

That was about the last browser that needed document.write and font tags.

All modern browsers expect fonts to be set in the CSS.

You can update the HTML from JavaScript using innerHTML and update the font using style.font
__________________
Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/
felgall is online now   Reply With Quote