css
<style>.login_body{
height: 100%;//相对位置
background: #fff url(/backup/theme/default/images/loginbg.png) repeat-x;
}
.test_login_bg{
valign:middle
width: 100%;
background: url(/backup/theme/default/images/test_login.jpg) no-repeat center;
}
.test_login_form{
width:100%;
height:180px;
margin:0 auto;
padding:60px 0 96px 10px;//修改相对位置
}
.test_login_copyright{
position: relative;
top: 246px;
left: 250px;
}
.login_test{
position: relative;
top: 80px;
left: 300px;
font-size: 24px;
}
.test_login_form td{
padding:1px 0 0px;height:16px;line-height:18px;
}
.test_login_form td.login_form_txt{//样式enterprise_login_form内td的样式login_form_txt,如:<td class="login_form_txt">语 言:</td>
padding-right:6px;//修改相对位置
padding-left:100px;
}
.test_login_form td.login_form_input{width:300px;}
</style> --------------------编程问答-------------------- 修改相对位置是相对于外层class --------------------编程问答-------------------- htm5:http://sd.csdn.net/a/20111111/307338.html;
htm5:http://blog.csdn.net/jackiewell/article/details/6912188;
htm5:http://sd.csdn.net/a/20111111/307332.html;
补充:Java , 非技术区