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

font size missing

1 Answer 74 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Heiko
Top achievements
Rank 1
Heiko asked on 15 Jun 2009, 12:18 PM
Hello  team telerik,

When we use in Rad Editor Lite the font size "3", the html code is the following:
<div class="ExternalClassFD3A75651CF744CF81A19D8F45FE84D1">Test</div>
There ist no tag concerning the font size!

When we use the font size "2", the html code is:
<div class="ExternalClassFD3A75651CF744CF81A19D8F45FE84D1"><font size="2">Test</font></div>
Here we can see the expected font size tag.
The same result with font size "4":
<div class="ExternalClassFD3A75651CF744CF81A19D8F45FE84D1"><font size="4">Test</font></div>

We need the font tag "3" for our web design, but we can not use it. Why?

1 Answer, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 16 Jun 2009, 11:44 AM
Hello Heiko,

This problem appears when RadEditor is set to use the same default font and size, as the font and size that are set in the content editor's browser. Then the browser doesn't use a font name / size tag to display nor save the correct font as it recognizes it be default. The problem occurs when another user with different browser's FONT settings accesses the page. Since the new browser thinks that the default FONT should be, say Times New Roman, it displays it with the new settings.

I can suggest you the following work around. You need to change the default font-size in the RadEditor. In order to do so create an CssEditor.css file in the Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.5.6.0__1f131a624888eeed\RadControls\Editor folder and set the following css style.
For example (you can change the size so it will fit your case):
body 
    font-size: 10pt; 


I hope this helps.



Best wishes,
Stanimir
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
WebParts for SharePoint
Asked by
Heiko
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Share this question
or