Problem on content styling

Last post 02-25-2010, 9:20 AM by Eric. 4 replies.
Sort Posts: Previous Next
  •  02-22-2010, 9:53 PM 58912

    Problem on content styling

    Hi,  
    I'm using Cute Editor 6.5 for ASP.
    I have set my cute editor to using an external CSS and set the font size by
    editor.EditorWysiwygModeCss="../../styles/default.css"  
    editor.EditorBodyStyle="font-size:12px;"
     
    The font style & size display correctly in "Normal" view & "Preview" view but not in "HTML" view. The font size seem grow bigger when i click on "HTML" view.
     
    Any solution on this?
     
    Filed under: ,
  •  02-23-2010, 9:00 AM 58916 in reply to 58912

    Re: Problem on content styling

    Dear carrot,
     
    I have tested this issue, the font size of "html" view did not change and cannot reproduce this issue, can you test it more? if you can reproduce it, please post screen shot here.
     
    Regards,
    Eric
  •  02-23-2010, 9:00 AM 58917 in reply to 58912

    Re: Problem on content styling

    Dear carrot,
     
    I have tested this issue, the font size of "html" view did not change and cannot reproduce this issue, can you test it more? if you can reproduce it, please post screen shot here.
     
    Regards,
    Eric
  •  02-24-2010, 9:32 PM 58959 in reply to 58917

    Re: Problem on content styling

    Hi,
     
    Here is the screen shot.
     
     
    Below is my code:
     

    <%

    Option Explicit

    %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml">

    <head>

    <title>My Events</title>

    <meta name="description" content="Events">

    <meta name="robots" content="noindex, nofollow" />

    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

    <meta http-equiv="content-language" content="en-gb" />

    </head>

    <!--#include file="../../cuteeditor_files/include_CuteEditor.asp" -->

    <body>

    <h2>Submit an Event</h2>

    <form>

    <%

     

    Dim editor

    Set editor = New CuteEditor

     

    editor.ID = "eventdesc"

    editor.ConfigurationPath = "../../CuteEditor_Files/Configuration/EHSDefault.config"

    editor.FilesPath = "../../CuteEditor_Files"

    editor.HelpUrl = "../../CuteEditor_Files/Help/default.htm"

    editor.EditorBodyStyle="font-size:12px;"

    editor.BreakElement = "P"

    editor.showhtmlmode = True

    editor.showpreviewmode = True

    editor.EditorOnPaste = "PasteText"

    editor.Text = "testing note"

    editor.Width = 200

    editor.Height = 100

    editor.Draw()

    %>

     

    </form>

    </body>

    </html>

  •  02-25-2010, 9:20 AM 58979 in reply to 58959

    Re: Problem on content styling

    Dear carrot,
     
    editor.EditorBodyStyle="font-size:12px" ,this line will set the editor area font size to 12px, when you preview it, it will be the same as "normal" view. "html" view only display html code, its font will be change, this is correct. it is not an issue.

    Regards,
    Eric

View as RSS news feed in XML