Page-Details : Size Wisely

By Patrick Hunlock on Feb 7, 2007

General

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.


Notes

  • Created by: Patrick Hunlock
  • Web Site: http://www.hunlock.com/
  • Posted: February 7, 2007

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: sizeWisely.js


Head

Paste this code into the HEAD section of your HTML document.


Comments

Blog comments powered by Disqus