Re: Editor height

  •  03-05-2010, 10:05 PM

    Re: Editor height

    Dear xrum,
     
    When you use editor3.Height =200, the sum of editor text area and editor tool bar  is 200px, if you set editor.AutoConfigure = "Full" and height is 200, the height of edit area will be very small. When you set editor use minimal configuration mode, you can set height smaller, please refer to the following code:
    <!-- #include file = "cuteeditor_files/include_CuteEditor.asp" -->
    <html> 
        <head>
      <link rel="stylesheet" href="asp.css"  type="text/css" />
     </head>
        <body>  
      <form name="theForm" action="Get_HtmlContent.asp" method="post">     
      <h1>Enable All Toolbars</h1>
      <hr>
      <p>This example shows you all the predefined buttons. </p>
      <br />
      <%
       Dim editor
       Set editor = New CuteEditor
       editor.ID = "Editor1"
       editor.Text = "Type here"
          editor.EditorBodyStyle = "font:normal 12px arial;"
       editor.ResizeMode ="PlusMinus"
       editor.EditorWysiwygModeCss = "asp.css"
       editor.AutoConfigure = "Minimal"
       editor.Height="110"
       editor.Draw()            
       ' Request.Form(ID) access from other page
      %>      
      </form>
     </body>
    </html>
     
    Regards,
    Eric
View Complete Thread