Re: Extra blank lines making our customers very mad - Cute Editor community please help!!!

  •  09-06-2006, 3:12 PM

    Re: Extra blank lines making our customers very mad - Cute Editor community please help!!!

    obiwantcp,
     
    It's a HTML issue.
     
    When you paste from MS word, if you don't choose the clean option, you will find out the original code from word is:
     
    <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><font face="Times New Roman" size=3>Hello world</font></p>
    <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p><font face="Times New Roman" size=3>&nbsp;</font></o:p></p>
    <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><font face="Times New Roman" size=3>Hello world</font></p>
    <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><font face="Times New Roman" size=3>Hello world</font></p>

    If you choose the clean option, the code will become the following format:
     
    <p>Hello world</p>
    <p>&nbsp;</p>
    <p>Hello world</p>
    <p>Hello world</p>


    In HTML, by default, the <P> tag automatically creates a space between paragraphs (double spacing).  Many developers use this method: add p{margin:0px} into the style sheet. By this way, <P> tag will render as single spacing.
     
     
     

    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

View Complete Thread