Hi! I think the problem is more severe. IE 6 has obviously changed behaviour compared to IE 5.5. I'd call it a bug. It now always calculates "100%" with the right-hand bar's width INCLUDED, so there are other side-effects than the one you are describing, like the last tab on the right being partially covered by the scroll bar. So if we change the HTML, it should limit the width of the WHOLE right-hand frame, not just the textarea's width ... Unfortunately this will only work automatically with some browser detection ... Joachim ----- Original Message ----- From: "Jeff Kowalczyk" <jtk@adelphia.net> To: <zope-dev@zope.org> Sent: Saturday, February 09, 2002 3:02 AM Subject: [Zope-dev] ZMI textareas on Windows IE6 are '100%+' wide, cause scrolling inconvenience
On my Zope 2.5.0 running on WindowsXP/IE6, the ZMI's textarea boxes, for things like editing PageTemplates, becomes too wide for the frame when the vertical scrollbar is required, causing an inconvenient side-scrolling behavior. The frame must be scrolled sideways to view the text areas's scrollbars, which then obsures the far left of the textarea.
This is the code in question (for a PT edit page, there are many others) Expand macros when editing </td> </tr> <tr> <td align="left" valign="top" colspan="4"> <div style="width: 100%;"> <textarea name="text:text" wrap="off" style="width: 100%;" cols="40" rows="15"><html metal:define-macro="page">
Would it not help to make the textarea and div width 90% or so to account for the potential width of the side-scroll bar on the right-hand ZMI frame? Or even better, this could become a preference setting, since some users will have very narrow scrollbars or extreme vertical resolutions. After all, there is a cols/rows insertion right next to it, perhaps a new preference setting is easy enough to add...
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )