<div class="A_content_1"> <li>座右铭: <input class="A_ct1" type="text"><img class="A_check1" src="img/check.png"><span class="check_f disn">格式错误</span></li> <li>特长爱好:<input class="A_ct1" type="text"><img class="A_check1" src="img/check.png"></li> <li>梦想旅游地:<input class="A_ct2" type="text"><img class="A_check1" src="img/check.png"><span class="check_f disn">格式错误</span></li> <li>备注:<textarea class="A_ct1"></textarea></li> </div> <div><input class="A_save" type="image" src="img/SAVE.png"><input type="image" src="img/continue.png" ></div> </div>
利用绝对定位,在css文件中添加position:absoulte;就可以解决行高问题且兼容ie6以上浏览器
textarea.A_ct1{385px;
height:120px;
font-size:14px;
color:#999;
line-height:15px;}