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

[Solved] Override font used to display content

2 Answers 149 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Robert Vreeland
Top achievements
Rank 1
Robert Vreeland asked on 19 Nov 2007, 03:33 AM
Is there a way to override the font used to display the content of the editor.  I'd like it to match the same font style i use for my textboxes.

I've tried applying various styles via my own stylesheet to override it while using the "Vista" skin overall but this doesn't work.  The font seems to default to a large one, noticeably larger than in my other fields on teh page.

2 Answers, 1 is accepted

Sort by
0
Robert Vreeland
Top achievements
Rank 1
answered on 19 Nov 2007, 04:05 AM
Also, a related question, what does the ContentAreaCSSFile property do.  I tried setting it to a URL and can't find any evidence it does anything.

I was thinking that maybe i create a stylesheet and supply it to this property and then the document for the iframe tag containing the editor content would reference it allowing me to control the styles...but that doesn't appear to be the case.
0
George
Telerik team
answered on 19 Nov 2007, 04:28 PM
Hi Robert ,

I have created and attached a sample project using the ContentAreaCSSFile in which you can observe the use of the ContentAreaCSSFile property. Please, note that the ContentAreaCSSFile should point to a file in the root of your web app, in the wwwroot or inside a Virtual folder pointing to your web project, but you cannot set a URL to a live site.

Please let me know if I can assist you any further with this service request.

Kind regards,
George
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
Robert Vreeland
Top achievements
Rank 1
Answers by
Robert Vreeland
Top achievements
Rank 1
George
Telerik team
Share this question
or