Re: Issue with applying css to editor

  •  08-17-2005, 6:45 PM

    Re: Issue with applying css to editor

    Hi,

    Please find the code below.  Another point that could be important: we have several editors on the same page, each of them got a specific id.  The file 'editor.css' is in the same folder as default.aspx

    --default.aspx

    <ce:Editor id="EditorContent" EditorWysiwygModeCss="editor.css" runat="server" Visible="true" ThemeType="Office2003">

    --editor.css

    body {

    color: #4D4D4D;

    font-family: Tahoma, Geneva, Arial, Helvetica, sans-serif;

    font-size: 0.8em;

    line-height: 1.5em;

    text-align: left;

    background: #ffffff;

    }

    a {

    color: #000066;

    }

    a:hover {

    color: #000066;

    }

    a:visited {

    color: #000066;

    }

    a:visited:hover {

    color: #000066;

    }

     

     

    h1{

    font-family: Arial,Tahoma, Geneva, Arial, Helvetica, sans-serif;

    font-size: 1.5em;

    color: #000066;

    margin: 15px 0 15px 0;

    padding-left: 15px;

    }

    h2 {

    font-family: Arial,Tahoma, Geneva, Arial, Helvetica, sans-serif;

    font-size: 1.3em;

    color: #000066;

    margin: 10px;

    }

    h3 {

    font-family: Arial,Tahoma, Geneva, Arial, Helvetica, sans-serif;

    font-size: 1.1em;

    color: #000066;

    margin: 10px;

    }

    p {

    margin: 5px 15px 0px 15px;

    }

View Complete Thread