Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2008-04-23 10:03:55

AlexV
New member
Registered: 2008-04-23
Posts: 2

Height of Xinha in Firefox <> IE

Hello!

I have the following Xinha <textarea> in my page:
<textarea style="width : 600px; height : 200px;" id="form_desc_fr" name="desc-fr" cols="40" rows="8"></textarea>

In step 5 of my xinha-config.js I have:
    xinha_editors.form_desc_fr.config.width  = '600px';
    xinha_editors.form_desc_fr.config.height  = '200px';
(after setting config.toolbar and before registerPlugins)

I use _editor_skin = 'blue-metallic'.

The problem is that the height is not set correctly in Firefox. Xinha use a height of 275 instead of 200. In IE it's OK. If I change the skin, it changes the height a bit, but still over 200px in FF. If I set config.height  to '400px', it's set to 400 in FF.

It looks like Xinha have a min-height setting that is incorrectly calculated in FF...

To recap:
In IE all works OK.
In FF if I set config.height  to a value lower than 275, the height is set to 275 (with 'blue-metallic' skin).
In FF if I set config.height  to a value higher than 275, all is OK.

How can I make the height to behave correctly in FF?

Last edited by AlexV (2008-04-23 10:04:23)

Offline

#2 2008-05-02 10:14:53

AlexV
New member
Registered: 2008-04-23
Posts: 2

Re: Height of Xinha in Firefox <> IE

Am I unclear or it's too weird ??

Offline

Board footer

Powered by FluxBB