admin管理员组

文章数量:1516870

textarea 相关设置

1:设置行间距 //使用line-height: 1.5设置行间据,注意1.5不是1.5px。

<textarea  style="line-height: 1.5;height: 100px;" rows="3" cols="25"></textarea>

 

2:设置提示内容,并换行(&#10;)是unicode编码集中的换行

<textarea rows="5" cols="50" placeholder="1、提示信息1&#10;2、提示信息2"></textarea>

本文标签: textarea 相关设置