Font-size of the Editor

Last post 04-20-2006, 2:48 PM by vinceg. 2 replies.
Sort Posts: Previous Next
  •  04-20-2006, 11:28 AM 18380

    Font-size of the Editor

    Hello

    I've found a lot of explainations on how to change the dropdown options for Font-Size but I can't figure out how to change the Font-Size of the CuteEditor TextArea(like the one i'm typing right now) ? It's because I use a CuteEditor to create the text of a email in wich the Css files set the font-size to 10px but the page that is used to changed this text has a Css font-size set to 12 px so when the user do not specify the font size, is thinking that it will be 12px so if he wants to make something smaller he set it to 10px, in CuteEditor, it looks smaller but when he saves it and open the email, they are the same size...

    Thank You

  •  04-20-2006, 2:19 PM 18386 in reply to 18380

    Re: Font-size of the Editor

    vinceg,
     
    For example you have the following editor setting:
     
    <CE:Editor id="Editor1" EditorWysiwygModeCss="example.css" runat="server"></CE:Editor>
     
    And example.css contains
     
    body, td { font-family: Verdana ; font-size: 10px; font-weight: normal; text-decoration: none; }
     
    When the editor loads the font is set to verdana, 10px.
     
    We type the content below into the editor:
     
    case 1:
     
    "Hello World. Let us test the font size".
     
    case 2:
     
    <div style="FONT-SIZE: 10px">Hello World. Let us test the font size"</div>.
     

    Then click the submit button.
     
    You will find out:
     
    If the page loads the above content contains the example.css., they look same.
     
    For the page which doesn't contain the example.css, the second paragraph always looks correct.
     
     
     
     
     
     
     
     
     

    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

  •  04-20-2006, 2:48 PM 18390 in reply to 18386

    Re: Font-size of the Editor

    Thx



View as RSS news feed in XML