Dear All,
I have sample page below. My problem now how can I control the location of the <div id=“header”> and <div id=“footer”>. The problem each time my list of elements differ the footer location will be different and remain just below my submit button. So I want to fix it to a location to be at the bottom of the page but not influence by the amount of field I have in different forms. Any idea how to achieve that.
<html>
<head>
<link rel="stylesheet" type="text/css" href="my1.css" media="all">
</head>
<body>
<div id="main" >
<div id=logo>
<table width=1000>
<tr>
<td width=300>
<img src="images/logo.jpg">
</td>
<td width=350 align=center>
<label class=description for=element_1></label>
</td>
<td width=350 align=right>
</td>
</tr>
</table>
</div>
<div id="header">
<ul>
<li><a href="">Home</a></li>
<li><a href="">Solutions</a></li>
<li><a href="">Customer</a></li>
</ul>
</div>
<div >
<h2 class="form_desicription">Add Item(Draft)<?=$status?></h2>
</div>
<table>
<tr>
<td valign="top">
<table>
<tr>
<td>
<label class=description for=element_1>Name<font color="red">*</font></label>
</td>
<td>
<input class="text" id="driverName" name="itemName" value="">
<script>document.getElementById('itemName').focus()</script>
</td>
</tr>
<tr>
<td>
<label class="description">Date of Birth<font color="red">*</font></label>
</td>
<td>
<input class="text" id="itemDateOfBirth" name="itemDateOfBirth" value="">
<script>document.getElementById('itemDateOfBirth').focus()</script><label class="description">(DD/MM/YYYY)</label>
</td>
</tr>
<tr>
<td>
<label class=description for=element_1>Tel No(Home)<span
class=required id=required_1></span></label>
</td>
<td>
<input class="element text medium" id="itemTelHome" name="itemTelHome" value="">
<script>document.getElementById('itemTelHome').focus()</script>
</td>
</tr>
<tr>
<td>
<label class=description for=element_1>Tel No(Mobile)<span
class=required id=required_1></span></label>
</td>
<td>
<input class="element text medium" id="itemTelMobile" name="itemTelMobile" value="">
<script>document.getElementById('itemTelMobile').focus()</script>
</td>
</tr>
</table>
</td>
</tr>
</table>
<div id="footer">
<ul>
<li><a href="">Main Page</a></li>
<li><a href="">Print Page</a></li>
<li><a href="">Log Out</a></li>
</ul>
</div>
</div>
</body>
</html>