Wokked / 2007-02-22
Swiss Legacy, a blog about Swiss graphic design (via blog.FABRICA, thanks Chrigi!).
I stumbled over The Endless Forest yesterday – again, actually, I found it before, but didn’t had a Windows box at hand. Now I do, and, wow, this screensaver/game is one of the very few reasons to switch to Windows.
I could watch it for days, just because of its poetic qualities …
How to make squared corners in CSS, Step 10 of 84:
Open up your HTML file and create four divs: one above your bordered element, one below, and two floated to the side. Use the clearfix CSS hack and autoclear these elements using the :before and :after CSS selectors. (Warning: Not supported in 94.2% of all browsers). Make sure the top and bottom elements are display: block and your doctype is XHTML 1.0 Strict. Using prototype.js, call Element.hide(targetDiv) and Ajax.Request to a PHP script that calls getimagesize() on your previously uploaded TIFF. Apply these dimensions to your target element using $(’targetDiv’).style.height = ‘x’;
Guaranteed to fail in most modern browsers; yet should be still be required reading for some people whose websites look like this:
Oh the horror.
