Use this script in your onload events to kick-start your Web pages with the right relative font size. It checks the screen resolution (not the browser size) and sets the base ’em’ size accordingly.
- Created by: Patrick Hunlock
- Web Site: http://www.hunlock.com/
- Posted: February 7, 2007
Paste this source code into the designated areas.
Paste this code into the
HEAD section of your HTML document.