Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Why You Should Design Fixed-Width Websites. Parent comment
width: expression( document.body.clientWidth > 35 * parseInt(document.body.currentStyle.fontSize) ? "35em" : (document.body.clientWidth < 15 * parseInt(document.body.currentStyle.fontSize) ? "15em" : "auto" ) ;
http://www.gunlaug.no/contents/wd_additions_14.html for some caveats and other notes, in particular you can not specify a font-size at all for the body element (if you do, then do the math yourself and not in the expression).
There are no comments on this comment yet.
http://www.gunlaug.no/contents/wd_additions_14.html for some caveats and other notes, in particular you can not specify a font-size at all for the body element (if you do, then do the math yourself and not in the expression).