2 Mar 2007 johnnyb   » (Journeyer)


If you need to get an IE element to get HasLayout, the method is very simply, and you don't need to hide it from any other browser. Add the following CSS property:

zoom: 1;

THAT'S IT. YOU DON'T NEED ANY OTHER HACKING WIZARDRY. IT doesn't need to be hidden from anyone. It actually does what it says it does. There's nothing even hacky about it. It just works, and it has the nice bonus of adding hasLayout on IE.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!