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
精彩评论