...

View Full Version : Automatically Resizing Text



AndyArmstrong
07-09-2007, 11:45 AM
I want to be able to have automatically resizing text based on the window size of the browser.

What is the simplest way of doing this.

Thanks very much , Andy

daemonkin
07-09-2007, 12:06 PM
Andy,

You could be looking at using Javascript to read the browser window size onload() and then use Document Object Model (DOM) to change the CSS properties of the elements in your page.

Personally I would allow only the viewer to resize for himself - offer him a couple of options on the homepage and possibly set a cookie to help repeat access to your site.

Can you post you site or state what reasons you want to resize the text?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum