I know we have all heard the one size fits all website selling point. To tell you the truth there are numerous ways to achieve this goal. One could run a script to check the browser type, or another to check the screen resolution, you could even swap CSS files based on either of the two. If you would prefer to not mess around with all of that testing, you could download FitText, a small jQuery script from davatron5000. This small script will simply re-size your elements based on the parent element’s size. Try scaling the demo in your browser window down to almost nothing. This is amazingly lightweight, and that’s right, you don’t need to make those other CSS stylesheets.

Post a Comment