Re: Link Colors

  •  01-04-2011, 10:36 AM

    Re: Link Colors

    Dear HarryV,
     
    Please follow steps:
    1. Save the following code to test.aspx
    <%@ Page Language="C#"%>
    <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>

    <html>
        <head>
      <title>ASP and ASP.NET WYSIWYG Editor - EditorWysiwygModeCss</title>
     </head>
     <body>
            <form id="Form1" runat="server">   
        <CE:Editor id="Editor1" EditorWysiwygModeCss="mystyle.css" runat="server" ></CE:Editor><br />       
      </form>
     </body>
    </html>

    2.  Save the following style setting to mystyle.css
    a:link,
    a:visited {
    color:red;
    text-decoration:underline;

    a:hover,
    a:active {
    color:yellow;
    text-decoration:none;
    }
     
    3. Run test.aspx
    4. Input some text in cuteeditor and click button "Insert Hyperlink"
    The style setting will work, I have tested it.
    Keep me posted.
     
    Thank you for asking
View Complete Thread