So I got pretty bored and decided to make a CSS3 version of this, without the background image. I tidied up the code as well, but this isn't perfect.
It works great in Firefox, Opera, and Chrome. It uses multiple box-shadows, so IE has no big border or shadow, but it looks surprisingly ok. If you want to support IE fully, you could easily use your background image again (but you might want to crop it to just the bit you need).
The main thing to remember is, it's rarely a good idea to wrap everything in divs and position them exactly. Style the elements you want styled, and try to let the browser do as much of the positioning as it can itself!
<!DOCTYPE html>
<html>
<head>
<title>Login</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form name="login_form" action="index.php" method="post">
<label for="username">Username:<br />
<img src="images/login_user.png" /></label><input id="username" name="username" type="text" tabindex="1" /><br />
<label for="password">Password:<br />
<img src="images/login_pass.png" /></label><input id="password" tabindex= "2" type="password" name="password" /><br /><br />
<label for="rememberme">Remember me?</label><input id="rememberme" tabindex= "3" type="checkbox" name="rememberme" />
<input id="submit" tabindex= "4" type="submit" name="login" value="Login" />
</form>
<div id="login_footer">
©2010 Shane Wellington - <a href="mailto:shane@darkflaw.com">Contact</a> - <a href="http://blog.darkflaw.com">Blog</a>
</div>
</body>
</html>
body {
background-color: #4e4e4e;
padding: 0px;
margin: 0px;
}
a:link, a:visited, a:hover, a:active {
color: #36b474;
text-decoration: none;
}
form {
width: 267px;
margin: 155px auto 0;
font-family: tahoma;
font-size: 13px;
color: #CCCCCC;
padding: 5px 6px 6px 7px;
border: 1px solid black;
box-shadow: 0 0 0 10px #2A2A2A, 0 0 0 11px black, inset 2px 2px 7px black, 6px 10px 7px 11px black;
-moz-box-shadow: 0 0 0 10px #2A2A2A, 0 0 0 11px black, inset 2px 2px 7px black, 6px 10px 7px 11px black;
-webkit-box-shadow: 0 0 0 10px #2A2A2A, 0 0 0 11px black, inset 2px 2px 7px black, 6px 10px 7px 11px black;
}
form img {
display: block;
padding-top: 4px;
float: left;
}
#username, #password {
width: 240px;
margin: 2px 0;
float: right;
color: #36b474;
background-color: #333333;
border: 1px solid black;
}
#submit {
width: 50px;
height: 20px;
float: right;
color: #CCCCCC;
background-color: #333333;
border: 1px solid black;
}
#login_footer{
width: 278px;
margin: 23px auto 0;
text-align: center;
font-size: 10px;
}