Re: Setting default input style

  •  05-31-2013, 12:21 PM

    Re: Setting default input style

    Hi Sophie315,

     

    You can set property "EditorBodyStyle"to define some default style, like the example below.

     

    1. <%@ Page Language="C#" %>  
    2.   
    3. <%@ Register Namespace="CuteEditor" Assembly="CuteEditor" TagPrefix="CE" %>  
    4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
    5. <html xmlns="http://www.w3.org/1999/xhtml">  
    6. <head id="Head1" runat="server">  
    7.     <title>example</title>  
    8. </head>  
    9. <body>  
    10.     <form id="form1" runat="server">  
    11.         <CE:Editor ID="Editor1" runat="server" EditCompleteDocument="true" EditorBodyStyle="color:red">  
    12.         </CE:Editor>  
    13.     </form>  
    14. </body>  
    15. </html>  
     

    Also, you can define it in the external stylesheet, like demo http://cutesoft.net/example/Using-External-Style-Sheets.aspx

     

    Regards,

     

    Ken 

View Complete Thread