CSS
basic.css
* {
padding:0;
margin:0;
}
login.css
form {
width:300px;
margin:0 auto;//居中
}
form input {
width:120px;
height:30px;
margin-top:3px;
}
form img {
position:relative;
top:10px;
}
form .submit {
cursor:pointer;
}
IE6居中
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
posted on 2013-10-06 11:44 HOT SUMMER 阅读(257) 评论(0) 编辑 收藏 举报