Problem with collapse of content height in IE when clicking HTML or Preview buttons

Last post 03-25-2009, 4:58 PM by robingwynn. 3 replies.
Sort Posts: Previous Next
  •  03-25-2009, 1:06 PM 50267

    Problem with collapse of content height in IE when clicking HTML or Preview buttons

    In our application, in IE6 and IE7, if you click the HTML or Preview button at the bottom of the editor, the content height collapses to display only one line of content.  This does not occur in FireFox.  I've searched the online developer guide and can't find any information on this and have talked to live support and they asked me to post the question here.  Please help.
  •  03-25-2009, 1:12 PM 50268 in reply to 50267

    Re: Problem with collapse of content height in IE when clicking HTML or Preview buttons

     
    Please check this example. We cannot reproduce this issue.
     
    I think your problem is caused by the style sheet you are using.
     
    Please check it.
     
    Keep me posted

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  03-25-2009, 1:26 PM 50273 in reply to 50268

    Re: Problem with collapse of content height in IE when clicking HTML or Preview buttons

    This is the style sheet entry:
     
      #editorsCuteEdit {position: absolute; left:15px;  right:15px; top: 39px;  margin-bottom:-100px; width:auto; height: 80%; z-index: 1; }

    I've tried making the height fixed instead of a percent, but that doesn't seem to make a difference to the behavior.
     
    If I click the resize triangle in the lower right corner after it collapses the height - this restores the height to where it should be.  Any other suggestions where to look?
  •  03-25-2009, 4:58 PM 50280 in reply to 50273

    Re: Problem with collapse of content height in IE when clicking HTML or Preview buttons

    Problem resolved, posting here for others in case anyone else runs into this issue.  It had nothing to do with the stylesheet.  
    I had to change from using a percent for the height to use a fixed pixel height in the <div>.

    Changed:

    <div id="editorsCuteEdit" runat="server">
    <CE:Editor ID="cuteEdit" visible="false" runat="server" ThemeType="Office2007"
    AutoConfigure="Full" Height="80%" Width="100%">
    <FrameStyle BackColor="White" BorderColor="#DDDDDD" BorderStyle="Solid"
    BorderWidth="1px"
    CssClass="CuteEditorFrame" Height="80%" Width="100%" />
    <TextAreaStyle Height="80%" Width="100%" />
    </CE:Editor>
    </div>

    To:

    <div id="editorsCuteEdit" runat="server">
    <CE:Editor ID="cuteEdit" visible="false" runat="server" ThemeType="Office2007"
    AutoConfigure="Full" Height="400px" Width="100%">
    <FrameStyle BackColor="White" BorderColor="#DDDDDD" BorderStyle="Solid"
    BorderWidth="1px"
    CssClass="CuteEditorFrame" Height="400px" Width="100%" />
    <TextAreaStyle Height="400px" Width="100%" />
    </CE:Editor>
    </div>

View as RSS news feed in XML