[thelist] Jvascript expansion button not working in firefox, fine in IE and Opera

Lee kowalkowski lee.kowalkowski at googlemail.com
Tue Apr 18 03:13:24 CDT 2006


On 16/04/06, Simon Watkins <handymanorama at gmail.com> wrote:
> Does anyone have any idea why this might not be working in firefox,
>
>                        col.style.display = "inline-block";

Changing "inline-block" to "inline" seems to work, they're spans afterall.

The inline-block value wasn't in CSS2 until its first revision.

In Firefox, there are a few hacks,
http://www.quirksmode.org/css/display.html#inlineblock, for instance,
you can do a col.style.display = "-moz-inline-box"; just before the
line above and it will work in mozilla, but then be broken IE.

-- LK



More information about the thelist mailing list