Problem resseting RadEditor Styles

3 posts, 1 answers
  1. Felipe de Jesús
    Felipe de Jesús avatar
    19 posts
    Member since:
    Apr 2011

    Posted 27 May 2011 Link to this post

    I tried to reset the styles of RadEditor following the instructions in this post explain, but the result is that my publishers are using the rules defined in the main stylesheet. Any idea how I could fix it?.

    Like you can see in the screenshot that i send you. The problem it's that RadEditor continue load the rules defined in the global styles for the body element, like a background image, center text and no scrollbars (overflow:hidden)

    This it's the code that i use to trying to reset the styles, in the head of my masterpage, before the link to the global stylesheet.

    <style type="text/css">
            .reLeftVerticalSide, .reRightVerticalSide, .reToolZone, .reToolCell
            {
                background: white transparent !important;
                text-align: left;
                overflow: auto;
            }
            .RadEditor table, .reToolbar, .reToolbar li, .reTlbVertical, .reDropDownBody ul, .reDropDownBody ul li, .RadWindow table, .RadWindow table td, .RadWindow table td ul, .RadWindow table td ul li
            {
                margin: 0 !important;
                padding: 0 !important;
                border: 0 !important;
                list-style: none !important;
            }
            .reWrapper_corner, .reWrapper_center, .reLeftVerticalSide, .reRightVerticalSide, .reToolZone, .reEditorModes, .reResizeCell, .reToolZone table td, .RadEditor .reToolbar, .RadEditor .reEditorModes
            {
                border: 0 !important;
            }
            .reToolbar li, .reToolbar ul li, .reInsertTable .reTlbVertical .reToolbar li
            {
                float: left !important;
                clear: none !important;
                border: 0 !important;
            }
        </style>

    I'm using Windows XP SP3 with Internet Explorer 6.0 and Q1 2010.

    I look forward to your response

    Regards,
    Felipe Meléndez
  2. Answer
    Rumen
    Admin
    Rumen avatar
    13804 posts

    Posted 31 May 2011 Link to this post

    Hello Felipe,

    You should set the CssFiles property and the editor will not pick up the styles from the parent page. You can see how to do that in the following help article: Content Area Appearance Problems.

    All the best,
    Rumen
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. Felipe de Jesús
    Felipe de Jesús avatar
    19 posts
    Member since:
    Apr 2011

    Posted 01 Jun 2011 Link to this post

    Thanks for your time and your answer.

    Regards,
    Felipe Meléndez
Back to Top