<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>login</title>
<style>
body {
margin: 0;
padding:0;
background: #ccc;
}
#wrap {
width:290px;
margin:17% auto;
}
#sid {
width: 152px;
margin-left: -5px;
}
#sub {
margin-left: 65px;
}
#res {
margin-left: 55px;
}
#vcode{
float:right;
}
</style>
</head>
<body>
<div id="wrap">
<form action="loginok.php" method="post">
选 择: <select name="loginname" id="sid">
<option value="admin">管理员</option>
<option value="user">用户</option>
</select>
用户名:<input type="text" name="username" id="">
密 码:<input type="password" name="password" id="">
验证码:<input type="text" name="" id=""><img src="vcode.php" id="vcode">
<input type="submit" value="login" id="sub">
<input type="reset" value="reset" id="res">
</form>
</div>
</body>
</html>