<style>
div#Header{ height:100px ;background-color: #003333;position: relative;}
div#LoginBox {float : right;background-color: palegreen;position: absolute }
</style>
<div id="Header" background="bg_img/header.jpg">
<div id="LoginBox">
<form action="CheckLoginCredentials" method="post">
<table style="height : 50px">
<th align="left">
LOGIN
</th>
<tr>
<td> Username :</td>
<td>Password :</td>
</tr>
<tr>
<td><input type="text" name="uname" ></td>
<td><input type="password" name="pwd" /></td>
<td><input id="submit" type="submit" value="Submit"></td>
<tr>
<td align="left" colspan="2">
Not Registered? Register <a href="RegistrationPage.jsp" style="text-decoration: none "> Here</a>
</td>
</tr>
</table>
</form>
</div>
</div>