[Zope] ZMI Does Not Wrap Lines in IE6
Tony McDonald
tony.mcdonald@ncl.ac.uk
Sun, 04 Aug 2002 08:44:41 +0100
On 3/8/02 2:33 pm, "Jonathan Mark" <jonathansamuel@yahoo.com> wrote:
> The Zope Management Interface works great in Mozilla.
> However, when I access the ZMI using IE 6 the line
> wrapping is turned off, and I can only see the
> leftmost portions of my code.
>
> Clicking on the Wider and Narrower buttons at the
> bottom of the screen seem to have no effect on anything.
>
This snippet may help (I've not tried it though)
> I've spotted a problem with the Zope management interface that's starting to
> get annoying and _should_ be pretty easy to fix. In IE6 the width of the
> <textarea> on the main edit object pane extends to just beyond the width of
> the pane, meaning you have to scroll the pane horizontally before you can
> grab the vertical scroll bar. This is because of the way that IE6 renders
> code that might not be 100% standards compliant (even when a validator might
> say otherwise!) and relates to the doctype used. You could fix this be
> doing a search+replace on the zope source code and replacing:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
> "http://www.w3.org/TR/REC-html40/loose.dtd">
>
> with:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>
> This switches IE6 into 'quirks' mode and will allow it to render such code
> properly. It should have no effect on other browsers. I've had this kind
> of problem with a few sites in IE6 and this always does the trick.
tne
--
Dr Tony McDonald, Assistant Director, FMCC, http://www.fmcc.org.uk/
The Medical School, Newcastle University Tel: +44 191 243 6140
A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope