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

RadEditor Scrollbars and RadWindow

3 Answers 134 Views
Window
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 01 Oct 2008, 12:42 PM
Hi,

I have set

HTML
{
      overflow-x:hidden;
      overflow-y:hidden
}

to delete the scrollbars for RadWindow.
Now the problem is that RadEditor inside a RadWindow do not have a scrollbar in the editor area.

What´s the correct way to get both working?

Thanks and enjoy,
Chris

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 01 Oct 2008, 03:27 PM
Hi Christian,

You should use CssFiles property of RadEditor and load an external css file.
You can find more information in the following articles:
Setting Content Area Defaults and Setting Editor Background And Color

Best regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Christian
Top achievements
Rank 1
answered on 01 Oct 2008, 03:34 PM
Hi,

this is my editor.css external css file:

body

{

font-family

: Verdana !important;

font-size

: 0.75em;

color

: #000000 !important;

background-color

: #FFFFFF !important;

overflow-x

:hidden;

overflow-y

:hidden;

}

HTML

{

overflow-x:hidden;

overflow-y:auto;

}

In IE6 I have scrollbars but not in firefox. 

Is there any special for firefox?

Thanks and enjoy.

0
Martin
Telerik team
answered on 03 Oct 2008, 12:35 PM
Hello Christian,

There are a few factors you have to take into consideration when troubleshooting this issue:

1. CSS (as XHTML) is case senstitive, and FireFox has much more respect to this than IE, that is why HTML != html.

2. Take a look at the doctype of your file - if it is XHTML 1.0  or 1.1 the overflow property of CSS is applied to the <html> element, not to the <body>. This is also valid for the scripts that manipulate the DOM.

These two factors may be the cause for FireFox not working properly. As I do no have your files, and only the CSS, these are the only guesses I can do about the problem.

Have a great weekend,
Martin Ivanov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Window
Asked by
Christian
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Christian
Top achievements
Rank 1
Martin
Telerik team
Share this question
or