Changing the default font

Last post 06-23-2007, 1:38 AM by sanjayvishu. 2 replies.
Sort Posts: Previous Next
  •  06-21-2007, 7:19 PM 30986

    Changing the default font

    Hello,
     
    Can you please point to me where I can change the default font used by the editor? I've found some posting about this topic, but wasn't able to do it. My cuteeditor's css is pointing to the example.css (included in the following), and I've tried modifing it to use font other than Times New Roman, but it didn't seem to work. All my page is in Arial font, only when i type in the editor it appears in Times New Roman font.   NOTE: I downloaded the latest version.
     
    Thank you very much,
     
    Sincerely,
    Annie

    body,table,p,div { font:normal 10px tahoma;}

    body {margin:5px 0 0 0;padding:0;}

    p { margin:0px;}

    h1 { font:bold 17px verdana; margin-bottom:10px; color: #224488;}

    hr { color: #666666; height:1px; text-align:left}

    a:link {color: #224488; text-decoration: underline}

    a:visited { color: #224488; text-decoration: underline}

    a:active { color: #224488; text-decoration: underline}

    a:hover { color: #0000cc; text-decoration: none}

    #LocalToolbar {

    vertical-align:baseline; padding:0px; background-color:#305081;margin:0 0 24px 0;

    }

    .SectionMenu {

    font:normal 11px verdana; padding:0 2px 0 2px;

    }

    A.SectionMenu:link, A.SectionMenu:visited, A.SectionMenu:active {

    text-decoration: underline;

    color:white;

    }

    A.SectionMenu:hover, A.SectionMenu:hover {

    text-decoration: underline;

    color:yellow;

    }

    #footer { clear: both; padding: 1em; text-align: center; border-top:solid 2px #ECECF6; width:750; }

    #leftcolumn

    {

    width: 150px;

    padding-left:0px;

    }

    #leftcolumn ul {padding:0 0 3px 10px; list-style-position: outside; margin: 0; margin-bottom: 5px; list-style: none;}

    #leftcolumn li {padding-top: 1px;padding-bottom: 1px;padding-left: 2px; }

    #leftcolumn li a{color:#333333;text-decoration: none; }

    #leftcolumn li a:hover{color:navy;text-decoration: underline; }

    .leftcolumntitle {padding:0 0 3px 10px;color:#224488;}

    /*----Example CSS Class --*/

    img.greyborder {

    border: 1px solid #c0c0c0;

    }

    td.module {

    background-color: #efefef;

    }

    td.content {

    color: black;

    font-family: tahoma, arial, helvetica;

    font-weight: bold;

    }

    .subtabbg {

    background-color: #efefef;

    }

    .redcolor{

    color:red;

    }

    .boldgreen

    {

    color: green; font-weight: bold;

    }

    .highlight

    {

    background-color: yellow;

    }

    /*----End of Example CSS Class --*/

  •  06-22-2007, 11:01 AM 31007 in reply to 30986

    Re: Changing the default font

    >>All my page is in Arial font,
     
    based on your style sheet, all your page should be in tahoma.
     
    The following thread will help:

    http://cutesoft.net/forums/20093/ShowPost.aspx
     

    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

  •  06-23-2007, 1:38 AM 31017 in reply to 31007

    Re: Changing the default font

    in the style sheet i wrote the following code and i have addes as displayed below

    body, td { font-family: Verdana ; font-size: 11px; font-weight: normal; text-decoration: none; }

     
     
    <%@ Page Language="C#" %>
    <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
    <html>
     <body>
            <form runat="server" ID="Form1">
       <CE:Editor id="Editor1" EditorWysiwygModeCss="EditorStyles.css" runat="server" ></CE:Editor>
      </form>
     </body>
    </html>

     
    this code workd fine when i am using 5.3 version but when i am using 6.0 this is not working please check it.
    Thank you
View as RSS news feed in XML