CSS styles

Last post 10-04-2008, 10:50 PM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  10-04-2008, 1:13 PM 44552

    CSS styles

    I had no problem making my css show up in the dropdown, however I would like to apply a class to the editor automatically.  In other words, I would like for the user not to have to select the text and choose the Css class for it to be applied.  Is there a way to do this?
  •  10-04-2008, 10:50 PM 44558 in reply to 44552

    Re: CSS styles

    Hi theInternetProfessional,

    Please use the following property:

    Editor.EditorWysiwygModeCss Property
     
    Editor.EditorWysiwygModeCss Property allows you specify the location of the style sheet that will be used by the editable area. Multiple Style Sheets are supported.

    Code Example:
    <CE:Editor id="Editor1" runat="server" EditorWysiwygModeCss ="~/example.css"></CE:Editor>
     
    Demo:
     
     
    Regards,
     
    Ken
View as RSS news feed in XML