Resolution dependent style switching

In case you've ever longed for the ability to send different CSS rules to browsers depending on the visitor's current window size, Dynamic Resolution Dependent Layouts is for you.

In the article, Kevin Hale at Particletree describes how to implement a method that uses JavaScript to dynamically load a CSS file that changes the layout to suit the current window size. If liquid or elastic layouts are not your thing, take a look at this for a more flexible way of keeping your fixed width layout.

Posted on November 16, 2005 in Quicklinks, CSS, JavaScript