Java 创建一个大文本框以获取段落输入
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/20833761/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Creating a large textbox to get a paragraph input
提问by Shehan.W
I want to make an user enter a paragraph in a jsp page, but the problem is, the jsp page only displays a regular size text box , which is too small to enter a paragraph.
我想让用户在jsp页面中输入一个段落,但问题是,jsp页面只显示一个常规大小的文本框,太小而无法输入一个段落。
What i mean is i want to display a large text box in the jsp page so that the user can enter text in to it.
我的意思是我想在 jsp 页面中显示一个大文本框,以便用户可以在其中输入文本。
For example like this one :
例如像这样一个:
How do i make a small text box as big as the above example?
我如何制作一个和上面例子一样大的小文本框?
Thank you for your time.
感谢您的时间。
采纳答案by Aniket Kulkarni
回答by leonardo091800
Or you can just right-click on the area of the website you're showing us and select "inspect". (You can do it even if you type on the textbox "Your Answer" in stackoverflow) This way you will also know all css and javascript settings that give to such element the specific style you're looking at. Works in all major browsers. :P
或者,您只需右键单击您向我们展示的网站区域,然后选择“检查”。(即使您在 stackoverflow 中的文本框“您的答案”中输入,您也可以这样做)这样您还将了解所有 css 和 javascript 设置,这些设置为此类元素提供了您正在查看的特定样式。适用于所有主要浏览器。:P