Tuesday, July 19, 2005

New CSS Hack

We've been using it at work.

Ready now...


div {
display: !make-it-work;
}


The beauty of this is you don't need to think about how the CSS actually looks on the screen. It just works. And its nice. It reads your mind.

Unfortunately, it's not implemented in any of the browsers in existence at all, and you won't see it for another 100 years.

I'm happy to think hacks like this can make their way into the latest CSS draft, and wait with baited breath for the moment in which they do.

No comments: