61,112
社区成员
发帖
与我相关
我的任务
分享
#register_form #register_box #register_content #register_bottom{ margin:0px auto; padding:50px 100px 150px 100px; float:left}
#register_form #register_box #register_content #register_bottom .spanLabel{ width:150px; height:38px; float:left; text-align:right; margin-right:10px; line-height:30px;}
#register_form #register_box #register_content #register_bottom .spanInput{ width:560px; height:38px; float:left; text-align:left; line-height:100%;}
#register_form #register_box #register_content #register_bottom .spanLabel2{ width:150px; height:190px; float:left; text-align:right; margin-right:10px; line-height:30px;}
#register_form #register_box #register_content #register_bottom .spanInput2{ width:560px; height:190px; float:left; text-align:left; line-height:100%;}
<span class="spanLabel font_black_14">撒啊啊:</span>
<span class="spanInput"><input name="merchantName" type="text" class="input_3" value="{{form.merchantName.value}}" />{{form.merchantName.errors}}</span>
<span class="spanLabel font_black_14">a联系人</span>
<span class="spanInput">
<input name="merchantCorporate" type="text" class="input_5" value="{{form.merchantCorporate.value}}"/>
{{form.merchantCorporate.errors}}
</span>
<span class="spanLabel font_black_14">电话:</span>
<span class="spanInput">
<input name="phone" type="text" class="input_5 add_blank_right" value="{{form.phone.value}}"/>{{form.phone.errors}}
</span>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
ul,li{margin:0; padding:0; list-style:none}
li{margin:10px 0;}
li span{width:100px; display:inline-block; text-align:right}
li span.errorinfo{display:block; background:red; color:white; margin-left:100px; text-align:left}
</style>
</head>
<body>
<ul>
<li><span>名称:</span><input type="text" size="50" /><span class="errorinfo">请填写xxx</span></li>
<li><span>用户名:</span><input type="text" size="50" /><span class="errorinfo">请填写xxx</span></li>
<li><span>电话:</span><input type="text" size="20" /><span class="errorinfo">请填写xxx</span></li>
</ul>
</body>
</html>