CODE
.loginboxdiv {
/*for the white background image box*/
margin-left:auto;
margin-right:auto;
height: 21px;
width: 146px;
background: url(Buttons/login_bg.gif) no-repeat bottom;
text-align: center;
}
.loginbox {
/*the actual text box*/
background: none;
border: none;
position: absolute;
background: none;
width: 134px;
height: 15px;
margin-top: 3px;
margin-left: 6px;
padding: 2px 7px 0px 7px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
text-align: center;
z-index: 1;
}
/*for the white background image box*/
margin-left:auto;
margin-right:auto;
height: 21px;
width: 146px;
background: url(Buttons/login_bg.gif) no-repeat bottom;
text-align: center;
}
.loginbox {
/*the actual text box*/
background: none;
border: none;
position: absolute;
background: none;
width: 134px;
height: 15px;
margin-top: 3px;
margin-left: 6px;
padding: 2px 7px 0px 7px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
text-align: center;
z-index: 1;
}
CODE
<!-- login text boxes -->
<h4>Username</h4>
<div class="loginboxdiv">
<input class="loginbox" name="username" type="text"/>
</div>
<h4>Password</h4>
<div class="loginboxdiv">
<input class="loginbox" name="password" type="password"/>
</div>
<h4>Username</h4>
<div class="loginboxdiv">
<input class="loginbox" name="username" type="text"/>
</div>
<h4>Password</h4>
<div class="loginboxdiv">
<input class="loginbox" name="password" type="password"/>
</div>


Answers