Support forums

How to change font of text box?

Last post 07-22-2015, 9:40 AM by Pilotaso. 6 replies.
Sort Posts: Previous Next
  •  06-03-2005, 4:00 PM 7231

    How to change font of text box?

    How can I change the font and size of the text displayed in the text area in CuteEditor?

  •  06-03-2005, 4:06 PM 7234 in reply to 7231

    Re: How to change font of text box?

    Please check EditorWysiwygModeCss property and EditorBodyStyle :

    Specifies the location of the style sheet that will be used by the editable area. Multiple Style Sheets are supported.

    Example:   editor.EditorWysiwygModeCss = "example.css,~/portal.css,/default.css"    

    Editor.EditorBodyStyle Property:

    The style to be applied to the Editor body.

    Example: editor.EditorBodyStyle="background-color:tan;Color:white"

    Hope it helps.

    Web Messenger: wysiwyg editor:
    asp wysiwyg html editor: Image Gallery:
    Live Support:

  •  06-03-2005, 4:52 PM 7237 in reply to 7234

    Re: How to change font of text box?

    Thanks for the reply, but I'm still not able to set the font of the text body.

    If I use EditorWysiwygModeCss, I don't know what css tag to use. I had a look in asp.css, but I can't figure out which part applies to the editor's text area.

    I tried EditorBodyStyle but it did not work. (This property is not mentioned in the documentation by the way).

    I used editor.EditorBodyStyle="background-color:tan;font-family:verdana,arial,helvetica;font-size:11px"
  •  06-03-2005, 5:15 PM 7238 in reply to 7237

    Re: How to change font of text box?

    Aha - I figured out that it's the BODY tag that applies, the following gives me what I want:

    body {
    font:normal 11px verdana,arial;background-color: #ffffff;
  •  03-08-2006, 6:36 PM 16867 in reply to 7238

    Re: How to change font of text box?

    yes... but that property needs to work.  while it seems all dandy your fix - imagine when the next time ur stuck with a body tag that has a dark color... then the control becomes unusable - or your forced to try an order the CSS's and hope the body tag tag from one of the CSSs is usable.
 please review this tag... it is very much needed.
  •  03-08-2006, 6:39 PM 16868 in reply to 16867

    Re: How to change font of text box?

    Documentation is needed for this property too... I was placing a CSS element in there with no luck.. (e.g.  .EditorBck) -
    silly me, tricks are for kids
  •  07-22-2015, 9:40 AM 80540 in reply to 16868

    Re: How to change font of text box?

    I really liked this information.
View as RSS news feed in XML
Powered by Community Server (Commercial Edition), by Telligent Systems