You are not logged in.
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
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
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