Home >Web Front-end >HTML Tutorial >How to vertically center two TEXTBOX in DIV_html/css_WEB-ITnose
In VS2010
line-height
<div style="height:300px;border:solid 1px red;text-align:center;"> <input type="text" style="top:50%;position:relative;" /> <input type="text" style="top:50%;position:relative;" /><div>
Just write the style sheet to achieve it
line-height
How to set it
742b984f7fd8d7b5b845d21d60f83ab9
c226414331ca9ba5b380a5aa2cb989a2
c226414331ca9ba5b380a5aa2cb989a2
dc6dce4a544fdca2df29d5ac0ea9906b