Default border for images

Last post 03-29-2011, 12:31 AM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  03-28-2011, 10:03 PM 66899

    Default border for images

    We would like to have a standard border on images when they are uploaded into CuteEditor.  I know we can manually set these.  But can we have a 'default' to (for example), always put a 1 px blue border on them?
  •  03-29-2011, 12:31 AM 66901 in reply to 66899

    Re: Default border for images

    Hi briankitt,
     
    Please try this way
     
    1. Create a css file name "example.css" under the root of your site
     
    below is the code in example.css
     
    img
    {
        border: solid 1px blue;
    }
     
     
    2. Set property EditorWysiwygModeCss to "~/example.css";
     
     <CE:Editor ID="Editor1" runat="server" EditorWysiwygModeCss="~/example.css">
            </CE:Editor>

    Regards,
     
    Ken
     
View as RSS news feed in XML