How can I change the font-size in HTML mode?

Last post 04-18-2007, 2:28 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  04-18-2007, 9:46 AM 28545

    How can I change the font-size in HTML mode?

    Hallo Adam,
     
    the CuteEditor (version 6.0) is set to the following properties: 
        Editor2.EditorWysiwygModeCss = "common/stylesEditor.css" 
        Editor2.AutoConfigure = CuteEditor.AutoConfigure.Simple
        Editor2.UseHTMLEntities = False 'Umlaute 
        Editor2.CustomCulture = "de-de" 
        Editor2.Width = "560" 
        Editor2.EditorBodyStyle = "table { font:normal 10px arial; }"
     
    At the moment in HTML mode I get the same font size as in "Normal" mode. But for code it's a little bit to big. I thought that I can change the font-size using the property "EditorBodyStyle", but it doesn't work.
     
    Here are the styles of style "stylesEditor.css"
    body { font-family: Arial,sans-serif; font-size: 100.01%; color: #000000; margin: 0; text-align: left; }
     
    h1 { font-size: 1.2em; margin: 0.2em 0 1.0em 0; }
    h2 { font-size: 1em; margin: 0.2em 0; }
    h3 { font-size: 0.83em; margin: 0; }
    p {font-size: 0.83em; margin: 1em 0;  }
    td { font-size: 0.83em; margin: 1em 0; }
    tr.farbe1 { background-color:#EAEBED; }
    tr.farbe2 { background-color:#D8E9F1; }
    tr.farbe3 { background-color:#EAEBED;}
    tr.farbe4 { background-color:#F9E6AE;}
     
    Can you give me a tip?
     
    Martin
  •  04-18-2007, 2:28 PM 28556 in reply to 28545

    Re: How can I change the font-size in HTML mode?

    Martin,
     
    Please open CuteSoft_Client\CuteEditor\Scripts\Constant.js and modify the following code:
     
    editorconstant._editorSourceStyle = "background:#ffffff;margin:0;padding:0;";
     
     

    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 as RSS news feed in XML