< Input type ="textarea"中的多于1行/> [英] More than 1 row in <Input type="textarea" />

查看:100
本文介绍了< Input type ="textarea"中的多于1行/>的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很难让<input type="textarea" />具有多于1行,

I'm having troubles getting my <input type="textarea" /> to have more than 1 row,

我尝试在html中添加属性,就像使用普通的<textarea></textarea>这样:<input type="textarea" rows="x" cols="x" />

I tried adding the properties in the html, like you would do with a normal <textarea></textarea> like this: <input type="textarea" rows="x" cols="x" />

我什至试图用CSS来做,但是没有用. 我已经在互联网上搜索了解决方案,但似乎找不到任何有关我的确切问题的话题.

I even tried to do it in CSS, but it did not work. I've searched all over the internet for a solution, but i can't seem to find a topic regarding my exact problem anywhere.

我正在使用的文本区域位于以下网站上: 比尔杜赫斯特

The textareas i'm experiencing this with, are on this website: Vilduhelst

当您按下严重困难"按钮时,它们会出现.

When you press the "Lav dit eget dilemma" button they will appear.

我正在寻找HTML或CSS解决方案.

I'm looking for either a HTML or CSS solution.

推荐答案

为什么不使用<textarea>标签?

​<textarea id="txtArea" rows="10" cols="70"></textarea>

这篇关于&lt; Input type ="textarea"中的多于1行/&gt;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆