Jump to content

saila.com

Online media matters

Living Can Kill You

A box model fix and a JavaScript verifier

Thor Larholm wants to make sure every box is the same size.

Or, more accurately, he wants all boxes measured the same way. The result: a potentially simple JavaScript fix that will ensure, no matter the browser or mode, a page will size boxes according to the W3C box model. He admits it still needs testing, but it seems to work quite well.

Speaking of JavaScript, you may not be able to validate a script like you can a Web page, but jslint “looks for problems in JavaScript programs”.

And people freak over Web-based cookies!?