If inline-block worked cross-browser, we wouldn't have the floating
hell we have today. inline-block is not supported by firefox, and
won't be until firefox 3 is released.

And I'm not defending non-standard html (even though sometimes, the
standards are overly restrictive for no real reason) but I was trying
to duplicate an already existing behaviour and the only way to do it
was with non-standard html. But my real point was that javascript
generated html has no real incentive to be valid as it never gets
tested by validators and it works.

-blair

On Aug 13, 3:29 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> Blair Mitchelmore wrote:
> > I have no idea why a fieldset is being used but I do know that it let
> > me define both a width as well as display:inline so that's probably
> > the reason the script uses it.
>
> There is a CSS property that perfectly fits what is required here:
>
> display: inline-block;
>
> > It's not really standards friendly,
> > but javascript generated html rarely is.
>
> That is a pretty weak argument. Wether the HTML is valid or not depends
> on the developer, not if it is generated or not. That's the same as
> saying, ruby generated HTML is invalid.
>
> --Klaus

Reply via email to