Hi there,
I am trying to integrate the editor, and it works like a charm using IE, but Firebox on the other hand seems to have trouble with the height-property. This is my code:
$editor = new FCKeditor('docEditor') ;
$editor->BasePath = path.'include/fckeditor/';
$editor->Value = $content;
$editor->Width = '100%';
$editor->Height = '100%';
$editor->ToolbarSet = "myToolbar";
$editor->Config['SkinPath'] = "skins/SilverNarrow/";
$editor->Config['DefaultLanguage'] = "nl";
$editor->Create();
The height becomes 100% in IE, but in Firefox it sticks to the default value. Changing that doesn't help eighter.
Does anyone has a sollution to this issue?
Patrick
I am trying to integrate the editor, and it works like a charm using IE, but Firebox on the other hand seems to have trouble with the height-property. This is my code:
$editor = new FCKeditor('docEditor') ;
$editor->BasePath = path.'include/fckeditor/';
$editor->Value = $content;
$editor->Width = '100%';
$editor->Height = '100%';
$editor->ToolbarSet = "myToolbar";
$editor->Config['SkinPath'] = "skins/SilverNarrow/";
$editor->Config['DefaultLanguage'] = "nl";
$editor->Create();
The height becomes 100% in IE, but in Firefox it sticks to the default value. Changing that doesn't help eighter.
Does anyone has a sollution to this issue?
Patrick
Re: Height percentage in Firefox doesn't work?
I happen to be using ASP, but when I set height property to 100% (Actually I use 95% - but no percentages seem to work in Firefox) I get the default in Firefox. IE works fine.
Any ideas?
EDIT: I have written a browser detect script that feeds Firefox a pixel height rather than a percentage.... this seems to work, but is not ideal