Re: How can I set the default link color?

  •  01-12-2011, 11:34 AM

    Re: How can I set the default link color?

    Dear code4food,
     
    You can create one file called "php.css", and put the hyperlink style in this file.
     
     <?php
                $editor=new CuteEditor();
                $editor->ID="Editor1";
                $editor->Text="Type here";
                $editor->EditorBodyStyle="font:normal 12px arial;";
                $editor->EditorWysiwygModeCss="php.css";
                $editor->Draw();
                $editor=null;           
                //use $_POST["Editor1"]to retrieve the data
            ?>
           
    php.css:

    a:link {
     color: #0033cc; text-decoration: underline
    }
    a:visited {
     color: #0033cc; text-decoration: underline
    }
    a:active {
     color: #0033cc; text-decoration: underline
    }
    a:hover {
     color: #0000cc; text-decoration: none
    }

    Please check whether this works fine on your end.
     
    Thank you for asking
View Complete Thread