Problem with <input type='text' /> and <textarea> width

后端 未结 6 738
感情败类
感情败类 2020-12-19 03:04

In the following code, both the INPUT and TEXTAREA elements render wider than they should. How can I limit them to 100% of the usable area within the div?

&         


        
6条回答
  •  无人及你
    2020-12-19 03:36

    @Phil has the answer, above.

    Incidentally, using Firebug does, indeed, show the default borders on the textarea and input elements. So, using Firebug might have helped.

提交回复
热议问题