[jifty-devel] IE rendering problem for empty HTML elements

Andrew Sterling Hanenkamp sterling at hanenkamp.com
Wed Aug 1 21:00:49 EDT 2007


Yeah, I've looked into it a bit, but I haven't tackled the issue. Basically,
IE does not always collapse empty tags, which, if I recall correctly, is not
actually a wrong interpretation of the specifications, but happens to differ
from how the rest of the others do it. Whether it's wrong or not, it is a
difficulty and it is Jifty's problem.

Our clients are primarily IE users as well and I haven't gotten far into
fixing it because I haven't had a chance to read through the JavaScript that
handles the canonicalization and error handling that inserts text into the
empty DIVs causing the ugliness.

The solutions I've thought of involve either not rendering the DIVs at all
unless they need to be filled and then adding code to fill them when ever
the Ajax routines run, or set display to none and make them appear during
the Ajax stuff.

Jesse or others that have dealt with the JavaScript involved may have better
ideas, but that's just not a part of Jifty I've read through yet.

On 8/1/07, Henry Baragar <Henry.Baragar at instantiated.ca> wrote:
>
> Hello all,
>
> Has anyone come up with a work-around to this problem with IE?
>
> Our client is viewing this more as a problem with our application than
> with IE
> (since they and their clients mostly use IE).
>
> We will need to implement a work-around, if somebody does not already have
> one.  Is the problem simpler in the case where AJAX is not needed (as in
> our
> case)?
>
> Any help would be appreciated.
>
> Thanks,
> Henry
>
> On Friday, January 26 2007 04:55 am, Agent Zhang wrote:
> > On 12/3/06, Jesse Vincent <jesse at bestpractical.com> wrote:
> > > I think we'd probably want to add a class of "hidden" or somesuch,
> > > rather than an explicit styling. But what I'd really like is for hlb
> and
> > > trs to weigh in here, since both of them know more about the issues
> > > involved than I do.
> >
> > I'm still suffering from such issues in IE. How about dynamically
> > adding a class like "empty" and let the user to decide what to do with
> > it? I think it's safe for existing Jifty apps.
> >
> > Regards,
> > Agent
> > _______________________________________________
> > jifty-devel mailing list
> > jifty-devel at lists.jifty.org
> > http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
> _______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bestpractical.com/pipermail/jifty-devel/attachments/20070801/dfb38f6d/attachment.htm


More information about the jifty-devel mailing list