Re: Rendering CSS in design & preview mode

  •  11-03-2006, 1:26 PM

    Re: Rendering CSS in design & preview mode

    Hi Chris,
     
    I was able to get this to work!  The steps i went thru were:
    1.  Where you call your editor.draw(), put this before it:   editor.EditorWysiwygModeCss = "css/site.css"  where "css" is the name of the folder, and site.css is the stylesheet that holds your styles. 
    2.  In my site.css, i made a style called .title { font-weight: bold; color: #FF0000; }
    3.  In CuteEditor_Files/Configuration/Shared, i edited common.config to show my new style.  I found the dropdown for the css styles: <CssClass> and added the item <item text="Title" value="title"></item> in it.
     
    and it worked like a charm.
View Complete Thread