Thursday, May 5, 2011

IE textarea width changes when user types some text

I have a page in which there are a few textarea and <input type="text"> html controls. These elements are placed in a div tag:

alt text

In IE 7 after the user types some text in textarea, the width of the textarea changes on its own: alt text

and now again if the user types some text in the textbox, the textarea agian returns to its original width: alt text

Has anyone faced any similar issues?

From stackoverflow
  • Set a width in px, for the textfields. Should resolve the expanding behaviour.

    dalbaeb : This does, indeed, work.
    Peter Perháč : wish there was a better way though. it works but... ahhhh the aggravation, making things work in ie6

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.