crazyboybert
Programmer
I am experiencing some really odd behaviour from a textarea in IE6. The project I am working on is IE6 only so i have no need to concern other browsers for this one.
The textarea has a width specifiec in css of 70%. As thepage resizes sop does the textarea - lovely. As soon as you enter anyt text into the box then the width jumps to not far off 100%.
Why?
If i add an onkeydown event and respecify the width as 70% this has no effect. However if I add an onkeypress event to do the same thing the width jumps up and back down again for the first key stroke in the textarea, for the next keystroke it jumps up and remains at not far off 100%.
Has anyone else experienced strange behaviour like this and have any ideas how to stop it?
Thanks up front
Rob ------------------------------------
Go placidly amidst the noise and haste,
find what peace there may be in silence.
-Anon
------------------------------------
The textarea has a width specifiec in css of 70%. As thepage resizes sop does the textarea - lovely. As soon as you enter anyt text into the box then the width jumps to not far off 100%.
Why?
If i add an onkeydown event and respecify the width as 70% this has no effect. However if I add an onkeypress event to do the same thing the width jumps up and back down again for the first key stroke in the textarea, for the next keystroke it jumps up and remains at not far off 100%.
Has anyone else experienced strange behaviour like this and have any ideas how to stop it?
Thanks up front
Rob ------------------------------------
Go placidly amidst the noise and haste,
find what peace there may be in silence.
-Anon
------------------------------------