This prototype varies the density of content within your page, based either on the user's preference or the client window size. The latter overrides the former.
Content density variance is achieved through dynamic alteration of margins, padding, font sizes, line height, widths, and heights.
You can find a running example of this code here:
http://timhuegdon.com/test-cases/density/
Content Density Prototype by Tim Huegdon is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Based on a work at nefariousdesigns.co.uk.