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

RadEditor not setting Font Size 12 in IE

1 Answer 97 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Syed
Top achievements
Rank 1
Syed asked on 12 Jan 2011, 12:36 PM
Hi
 
We have an issue where RadEditor is not setting font size 3 (12) correctly in IE for Table contents, but everything works fine in Firefox .

How I can resolve this issue so that in IE size 12 get applied correctly ?   Please see attached screenshot for details 

Thanks in Advance

Syed

 


 

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 12 Jan 2011, 12:52 PM
Hi Syed,

Font size 3 (12pt) is the default IE browser font size for tables and it is not possible to apply a font tag with the same size value as the default one to the selected content in the table. The only solution is to predefine the default table font size for the content area and you will be able to apply font size 3 to the content in it.

You can predefine the default font size for table elements by setting the CssFiles property

<telerik:RadEditor ID="RadEditor1" Runat="server">
   <CssFiles>
       <telerik:EditorCssFile Value="~/EditorContentArea.css" />
   </CssFiles>
</telerik:RadEditor> 


 and loading a css file containing the following CSS class:

table
{
    font-size: 14px;
}
table td
{
   font-size: 14px;
}

More information is available in the following article: Setting Content Area Defaults.

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.
Tags
Editor
Asked by
Syed
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or