This is a migrated thread and some comments may be shown as answers.

Editor Content unwanted padding

1 Answer 40 Views
Editor
This is a migrated thread and some comments may be shown as answers.
James O'Brien
Top achievements
Rank 1
James O'Brien asked on 26 Oct 2010, 02:41 PM
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>

1 Answer, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 26 Oct 2010, 03:03 PM
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
Tags
Editor
Asked by
James O'Brien
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or