Fit to Window bug

  •  08-08-2006, 3:20 AM

    Fit to Window bug

    Try the code below and then click the "Fit to Window" icon. Because the Editor sits inside of a div tag, it gets cut off by the Div  the full window. Is there a fix for this? I'm using version 5.0. Thanks, Kris.
     
    <%@ Page Language="VB" AutoEventWireup="false"%>
    <%@ Register Assembly="CuteEditor" Namespace="CuteEditor" TagPrefix="CE" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head id="Head1" runat="server">
        <title>Test</title>
    </head>
    <body bgcolor=gray>
    <form id="form1" runat="server">
               
    <!--Main Content-->
    <div style="position:absolute; left:188px; top:186px; z-index:30; overflow: hidden; visibility: visible;">
     <TABLE cellSpacing=0 cellpadding="0" width="100%" border=0>
        <TBODY>                             
            <tr>
                <td valign="top" width="1%" nowrap="noWrap">
                    Text</td>
                <td>
                <CE:Editor Width="702" ID="strText" runat="server" ConfigurationPath="CuteSoft_Client\CuteEditor\Configuration\shg_toolbar.config" EditorWysiwygModeCss="~/css/CE_stylesheet.css">
                    <FrameStyle BackColor="White" BorderColor="#DDDDDD" BorderStyle="Solid" BorderWidth="1px"
                        CssClass="CuteEditorFrame" Height="100%" Width="100%"  />
                </CE:Editor>                  
                </td>
            </tr>
        </TBODY>
    </TABLE>                     
    </div>
           
        </form>
    </body>
    </html>
View Complete Thread