How to set the height of an input (text) field in CSS?

后端 未结 6 1910
被撕碎了的回忆
被撕碎了的回忆 2020-12-29 19:29

Sorry for this question but I can\'t seem to find an answer anywhere. I have CSS code that should set the height of my text box. I am using VS2010 Express for Windows phone,

6条回答
  •  粉色の甜心
    2020-12-29 19:47

    Try with padding and line-height -

    input[type="text"]{ padding: 20px 10px; line-height: 28px; }
    

提交回复
热议问题