css布局问题
<!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>
<script type="text/javascript" src="js/trim.js"></script>
<style>
div{font-size:12px;}
input{
border:1px solid #CCC;
margin-top:18px;
width:200px;
margin-left:30px;
}
label{font-size:12px;margin-left:20%;margin-right:0px;}
#registe
{
width:650px;
height:270px;
border:4px ridge gray;
background:#69C;
margin:0px auto;
margin-top:150px;
}
#uname
{
margin-top:50px;
}
.sex
{
width:20px;
border:0px;
}
#submit
{
width:60px;
margin-left:33%;
}
#reset
{
width:60px;
margin-left:30px;
}
</style>
</head>
<body bgcolor="#6699FF">
<div id="registe">
<form action="doregiste.jsp" method="post" onsubmit="return checkall()">
<label>用 户 名:</label><input type="text" name="uname" id="uname" onblur="hasthisuser(this.value)"/>
<span id="aftername" class="after"></span><br />
<label>密 码:</label><input type="password" name="upass" id="upass" onblur="checkpass()"/>
<span id="afterpass" class="after"></span><br />
<label>性 别:</label><input type="radio" name="usex" value="male" class="sex" />男
<input type="radio" name="usex" value="female" class="sex"/>女
<span id="aftersex" class="after"></span><br />
<label>邮 箱:</label><input type="text" name="uemail" id="uemail" onblur="checkemail()"/>
<span id="afteremail" class="after"></span><br />
<input type="submit" value="注册" id="submit" /><input type="reset" value="重置" id="reset" />
</form>
</div>
</body>
</html>
为什么这个页面在其他的浏览器里边都行,正在ie中就不行呢,输入框到处乱跑。以ie为内核的搜狗都行,郁闷