Announcement

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

#1 2005-05-19 04:10:37

guenole
New member
From: France
Registered: 2005-03-16
Posts: 6
Website

xinha_config.width and height in Firefox

Hello...

I have a problem with the width and the height of "Xinha textarea" in FireFox... I put :

       xinha_config = new HTMLArea.Config();
       xinha_config.width  = 640;
       xinha_config.height = 420;

First : the textarea is not resize...
Second : the Xinha have a size, and when i click in the textarea, the size "move"... It come more small...

Has someone have there problems ? Or have you a solution ?

Thanks all for your precious time !

Offline

#2 2005-05-19 05:30:49

guenole
New member
From: France
Registered: 2005-03-16
Posts: 6
Website

Re: xinha_config.width and height in Firefox

Help needed !

I found this : if i deleted this :

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">

It work so fine ! I don't understand...

Offline

#3 2005-05-19 06:06:36

niko
Xinha Authority
From: Salzburg/Austria
Registered: 2005-02-14
Posts: 338

Re: xinha_config.width and height in Firefox

you must use xinha_config.width = '640px'

this is because you ALWAYS have to give unit (px) in strict!

@gogo
....we could probably check if width is an int and add px ?


Niko

Offline

#4 2005-05-19 06:11:31

guenole
New member
From: France
Registered: 2005-03-16
Posts: 6
Website

Re: xinha_config.width and height in Firefox

Ouahoua !!!

So good ! Marvellous !

Thank's for all :-)

Offline

Board footer

Powered by FluxBB