Editor Content unwanted padding

2 posts, 1 answers
  1. James O'Brien
    James O'Brien avatar
    19 posts
    Member since:
    Oct 2009

    Posted 26 Oct 2010 Link to this post

    I can't get rid the content top padding in this example: http://twitpic.com/3110jq

    <telerik:RadEditor
        ID="txtMessage"
        runat="server"
        Width="500px"
        Height="250px"
        EditModes="Design"
        ValidationGroup="NewPost"
        ContentAreaCssFile="~/Community/themes/EditorContentAreaStyles.css"
        Skin="Sitefinity">
        <Tools>
            <telerik:EditorToolGroup Tag="Forum">
                <telerik:EditorTool Name="AjaxSpellCheck" />
                <telerik:EditorTool Name="SelectAll" />
                <telerik:EditorTool Name="Cut" />
                <telerik:EditorTool Name="Copy" />
                <telerik:EditorTool Name="Paste" />
                <telerik:EditorTool Name="InsertLink" />
                <telerik:EditorTool Name="InsertDate" />
                <telerik:EditorTool Name="InsertTime" />
                <telerik:EditorTool Name="Bold" />
                <telerik:EditorTool Name="Italic" />
                <telerik:EditorTool Name="Underline" />
                <telerik:EditorTool Name="StrikeThrough" />
                <telerik:EditorTool Name="InsertOrderedList" />
                <telerik:EditorTool Name="InsertUnorderedList" />
            </telerik:EditorToolGroup>
        </Tools>
    </telerik:RadEditor>

  2. Answer
    Rumen
    Admin
    Rumen avatar
    12988 posts

    Posted 26 Oct 2010 Link to this post

    Hello James,

    In the ~/Community/themes/EditorContentAreaStyles.css file put a body class with the following properties:

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


    Sincerely yours,
    Rumen
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top