Increase Or Decrease Text Size 4
CSGNetwork FREE Source Code, Javascript Source, and Code Snippets!
CSGNetwork Custom Search
     Bookmark and Share
Top Free Apps

Right click this window and select "view source" in order to copy the source for this script.


This is the test text to increase or decrease.

Increase Or Decrease Text Size 4

This JavaScript example shows how page viewers can increase or decrease the size of text on all or designated sections of your page. This is very useful for visitors who have difficulty reading smaller text (especially in low light or backlit conditions) and enables them to resize it for ease of comprehension. As it is configured at present, you may change the font size of any text within a paragraph (<p></p>) tag designation. If you wish to change text within other tags edit the getElementsByID('content'); instruction. Proper operation on your page mandates this code requires pixel sized fonts (px) instead of relative sized fonts using 'em' or '%'. This is an extremely simple method of font changes. It degrades nicely to 12px if the proper fonts are not located. Size changes can be activated by the button links, inside or outside of the tags. Please notice that THIS text is not changing and is not within <p></p> tags. Works in most modern browses. Please view the source.

Bookmark and Share
Registered® Trademark™ and Copyrightę 1973 - CSG, Computer Support Group, Inc. and CSGNetwork.Com All Rights Reserved