我有jQuery的文本字段hinthow我是否將字體放在中間。我試過垂直對齊:中間但不起作用。在textfield的中間對齊字體
<style type="text/css">
#name {
border: 1px solid #c810ca;
height: 27px;
}
input[type=text].hint{
color: #fff;
font-size: 11px;
font-family: "times new roman";
}
input[type=text]{
font-size: 13px;
color: #fff;
font-family: "times new roman";
}
形式文本框
<div id="name">
<input name="name" type="text" id="name" title="insert here"/>
</div>
你改變的問題,你有你的答案後?你應該創建一個新的,而不是完全改變你的。 – 2012-03-04 15:18:45