HTML: Text Resizer
kumar mcmillan (contact me)
This class allows your users to resize the text on your website.
Thanks to the cascading nature of CSS, a simple font-size percentage can be included in the head of any page to facilite this text resizer. It will not disturb any other attribute of your styles except the body's font size.
To use this, instantiate the class on any page where you want to use the resizer, call ProcessTextReset(), and reset the text size by passing query string variables: set_text=smaller, set_text=larger, or set_text=normal (the class uses sessions to remember values). The font size is reset to a percentage of the browser's default font size. See the example file for exact usage.
It requires PHP 4 or higher. Let me know if you find any problems.
Click here for detailed information about this class on phpclasses.org