normal mode looks different from preview mode

Last post 04-23-2012, 7:28 AM by Kenneth. 3 replies.
Sort Posts: Previous Next
  •  04-19-2012, 7:25 PM 73710

    normal mode looks different from preview mode

     
    Normal Mode -
     
     
     
     
     
     
    Preview Mode -
     
     
     
     
     
    How can we get rid of the extra spacing in the "normal mode", it happens when the table is inserted within a table?
     
     
    Below is the HTML -
     
    <html>
        <head>
        </head>
        <body>
            <table style="width: 640px" border="0" cellspacing="0" cellpadding="0" width="600">
                <tr>
                    <td style="background-color: #ba9b65" bgcolor="#ba9b65" height="25">
                    <table border="0" cellspacing="0" cellpadding="10" width="100%">
                        <tr>
                            <td style="width: 447px; font-family: Arial,Helvetica,sans-serif; height: 18px; color: #f2eee1; font-size: 10pt" align="left"><strong>Newsletter Title</strong></td>
                        </tr>
                    </table>
                    </td>
                    <td style="background-color: #f4f0d8" bgcolor="#f4f0d8" height="25">
                    <table border="0" cellspacing="0" cellpadding="10" width="100%">
                        <tr>
                            <td style="font-family: Arial,Helvetica,sans-serif; color: #857458; font-size: 10pt" align="center">Issue Date</td>
                        </tr>
                    </table>
                    </td>
                </tr>
            </table>
        </body>
    </html>
  •  04-20-2012, 7:01 AM 73713 in reply to 73710

    Re: normal mode looks different from preview mode

    hi gurpreet,
     
    It works fine for me.
     
    Please try on demo http://www.richtextbox.com/test/EditCompleteDocument.aspx  with your code. 
     
    And please try the simple page below. Does it get the same problem on your end?
     
    1. <%@ Page Language="C#" %>  
    2.   
    3. <%@ Register Namespace="CuteEditor" Assembly="CuteEditor" TagPrefix="CE" %>  
    4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
    5. <html xmlns="http://www.w3.org/1999/xhtml">  
    6. <head id="Head1" runat="server">  
    7.     <title>example</title>  
    8. </head>  
    9. <body>  
    10.     <form id="form1" runat="server">  
    11.         <CE:Editor ID="editor1" runat="server" EditCompleteDocument="true">  
    12.         </CE:Editor>  
    13.     </form>  
    14. </body>  
    15. </html>  
    Regards,
     
    Ken 
  •  04-20-2012, 12:53 PM 73715 in reply to 73713

    Re: normal mode looks different from preview mode

     
    We tested and result is same.
     
    Actually we want to get rid of the extra space which shows up in "Normal Mode", circled in red.
     
     
     
     
     
  •  04-23-2012, 7:28 AM 73717 in reply to 73715

    Re: normal mode looks different from preview mode

    Hi gurpreet,
     
    I think you are testing on IE browser.
     
    1. Please download the latest version http://www.cutesoft.net/downloads/folders/21904/download.aspx
     
    2. Create an simple page with the code below
     
    1. <%@ Page Language="C#" EnableEventValidation="false" %>  
    2.   
    3. <%@ Register Namespace="CuteEditor" Assembly="CuteEditor" TagPrefix="CE" %>  
    4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
    5.   
    6. <html xmlns="http://www.w3.org/1999/xhtml">  
    7. <head id="Head1" runat="server">  
    8.     <title>example</title>  
    9. </head>  
    10. <body>  
    11.     <form id="form1" runat="server">  
    12.         <CE:Editor ID="editor1" runat="server" EditCompleteDocument="true">  
    13.         </CE:Editor>  
    14.     </form>  
    15. </body>  
    16. </html>  
    3. Test this page with your html code, it should works fine for you.
     
    Regards,
     
    Ken 
View as RSS news feed in XML