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

Overriding element.style in RadEditor CSS styles

1 Answer 159 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Paul Robertson
Top achievements
Rank 1
Paul Robertson asked on 02 Sep 2011, 03:28 PM
Hi there

Can any CSS expert help me out with this? I have a RadEditor control that has its appearance customised using the CSS option in the mark up:

<CssFiles>
                <trk:EditorCssFile Value= .... />

The problem is that even though I am trying to specify a particular table 'height' attribute in this CSS file, the value is always overridden by a value generated for the 'element.style' style, which appears to be a style attribute automatically inserted into the rendered HTML for the RadEditor - I cannot find the default value of 183px that is being used anywhere in my CSS files or ASPX markup. How can I stop this value from being used by default, I would like a RadEditor that is smaller than this in height.

Thanks very much if you can advise!

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 05 Sep 2011, 12:54 PM
Hello Paul,

Do you have defined an universal selector in your CSS stylesheet of the page? Only this CSS selector can apply its value to the content area when the CssFiles property is set.

If you unable to solve the problem, please, open a support ticket and send a sample working project that demonstrates the issue. Once I am able to reproduce the problem, I will be able to provide a solution.

You can also provide a live url to the problematic site for examination.


Best wishes,
Rumen
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
Editor
Asked by
Paul Robertson
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or