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

Font size dropdown mal formed

1 Answer 94 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Henry
Top achievements
Rank 1
Henry asked on 22 Sep 2008, 08:24 PM
Hi there,

I have an aspx which inherits from a master page. In the aspx page's directive, it also inherits some theming code which is universal to all pages, so I can't change the inherited code behind.

But the font size drop down (which contains fonts 1-7), instead of having varied height for each size in the dropdown when moused over, all sizes are equal, so the different sizes are overlapping with each other.

The second issue is that in the content area, the text is cut off if using font 7, so only upper part of the letters are shown, it seems there is a height limit and the letters also overlap between lines. For this issue, I temporarily fixed it by indicating the CSS file,
<CssFiles>
                  <telerik:EditorCssFile Value="~/EditorContentAreaGlobal.css" />
            </CssFiles>

in the content body. I wonder if there is a better way to achieve this.

Any help is appreciated.

Henry

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 23 Sep 2008, 01:24 PM
Hi Henry,

Could you please, replace the Font Size tool with the Real Font Size and see whether you still experience this problem? If the problem still persists please open a support ticket and send a sample running example demonstrating the problem along with a screenshot how the dropdown looks.

The second problem is due to some global style on the page for example

    <style>
    body { line-height: 3px; }
   </style>

which is applied to the content in RadEditor. The solution is to exactly set the CssFiles property to point to some external css file. The other way to fix the problem is to modify your global page styles.


Best regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
Henry
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or