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

Safari Centering

1 Answer 32 Views
Editor
This is a migrated thread and some comments may be shown as answers.
sircutbreaker
Top achievements
Rank 1
sircutbreaker asked on 15 Jun 2008, 02:45 AM
The editor centers the initial text when loaded in safari..

I wrapped the control in a div align="left" tag...
i even set the content="<div align='left'></div>

the text STILL goes to the center... on safari...

Please advise..

Thanks,

jeff

http://tvsvtag.com/contact

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 16 Jun 2008, 04:51 PM
Hi,

The problem is due to some global css class on the page with the editor. For example:

BODY
{
    text-align:center;
}


You could easily specify just the css classes you want loaded in the editor by using its CssFiles property - this is how the editor will not pick up the styles from the parent page. The following online demo shows how to use the CssFiles property -
http://www.telerik.com/demos/aspnet/Editor/Examples/StylesAndExternalCssFiles/DefaultCS.aspx


Best regards,
Rumen
the Telerik team

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