There’s been a lot written about using the DOM to retro-fit HTML to make to work and look nicer than is otherwise possible. Little did we know the dark force we were tinkering with. Pining for the simplicity of table-based layout, Dimitri Glazkov has come up with a cunning way to slip tables to the kids while their parents aren’t watching.
You can see it in action here. View the source normally and you’ll see the sent markup. But view the page in Firefox, hit CTRL+A (select all), and then right-click to select ‘View Selection Source’ and you’ll see ‘em there trying to look innocent. Tables.
I have to admit I’m slightly in two minds about it, and it’s certainly very clever. Even his original name for the technique is a chuckle. ‘…BOTOX, a quick way to smooth over nasty old wrinkles by injecting normally toxic stuff into the facial area of your page.’
But ultimately, it seems to me like prescribing chemotherapy for a slight sniffle. It’s fairly extreme, potentially harmful and brings in a range of nasty side-effects. Those include:
3) Source-ordering issues : TILT would seem to force you to render the page elements in the order the appear in the code (as table do), taking away one of the luxuries of CSS.
Still, it is, at the very least, a great experiment — and you have to admire Dimitri’s ability to come up with a completely new approach to a problems that tens of thousands of developers must have looked at.