怎么让文本框中的文字垂直方向居中

    技术2022-05-19  20

    来自:http://topic.csdn.net/t/20050722/20/4162420.html

     

    解决方法:

    <textarea   style= "height:50px;   line-height:50px; "> test </textarea>

     

    指定height和line-height即可。


    最新回复(0)