开发者

change text size in textbox in html

开发者 https://www.devze.com 2022-12-17 13:50 出处:网络
How to change the textbox size in html. Like the one i开发者_运维问答n twitter. Use CSS property font-size?Twitter\'s default twitting box is using <textarea>. From Firebug, it\'s something like

How to change the textbox size in html. Like the one i开发者_运维问答n twitter.


Use CSS property font-size?


Twitter's default twitting box is using <textarea>. From Firebug, it's something like

textarea.twitterBox {
 border:1px solid #AAAAAA;
 padding:4px 2px;
 -x-system-font:none;
 font-family:'Lucida Grande',sans-serif;
 font-size:1.15em;
 height:2.5em;
 line-height:1.1;
 overflow:auto;
 width:515px;
}

PS: Not sure if the theme affects the above though

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号