edesignuk
Aug 27, 2005, 02:06 PM
Having some problems here chaps! I'm trying to get it so that my page "header" is always at the very top, and my "footer" at the very bottom.
What I have done works in IE, but nothing else :o, like so...
MSIE6
http://upload.yo-momma.net/uploads/forums/Picture 2.png
Firefox (and same goes for Safari)
http://upload.yo-momma.net/uploads/forums/Picture 3.png
This is the code for the table:<table width="800" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="110" background="images/header.jpg"> </td>
</tr>
<tr>
<td height="30"><!-- Stuff removed --></td>
</tr>
<tr>
<td height="%" align="left" valign="top" class="tdcontent" >
<!-- End header -->
<!-- Start content -->
<div align="center">Welcome to <a href="http://thurrocktech.com">ThurrockTech.com.</a> This site is currently under contruction, getting ready to offer you the best IT services in Thurrock. Come back soon to see how we can help you to solve all your IT gremlins.<br/>
<br/><img src="images/progress.gif"></div>
<!-- End content -->
<!-- Start Footer -->
</td>
</tr>
<tr>
<td height="32" background="images/footer.jpg"> </td>
</tr>
</table>As you can see, I have 1 table split in to 4 rows, 3 of which are fixed sizes, and the other I want to be dynamic to fill any extra space.
Row 1 - FIXED - 110px
Row 2 - FIXED - 30px
Row 3 - DYNAMIC (Well, supposed to be!!) - "%" also tried "100%", but didn't help.
Row 4 - FIXED - 32px
So basically, I'm hoping one of our resident gurus can tell me where I'm going wrong, and how I can get it to look as it does in the IE screenie across all browsers.
Many thanks!
What I have done works in IE, but nothing else :o, like so...
MSIE6
http://upload.yo-momma.net/uploads/forums/Picture 2.png
Firefox (and same goes for Safari)
http://upload.yo-momma.net/uploads/forums/Picture 3.png
This is the code for the table:<table width="800" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="110" background="images/header.jpg"> </td>
</tr>
<tr>
<td height="30"><!-- Stuff removed --></td>
</tr>
<tr>
<td height="%" align="left" valign="top" class="tdcontent" >
<!-- End header -->
<!-- Start content -->
<div align="center">Welcome to <a href="http://thurrocktech.com">ThurrockTech.com.</a> This site is currently under contruction, getting ready to offer you the best IT services in Thurrock. Come back soon to see how we can help you to solve all your IT gremlins.<br/>
<br/><img src="images/progress.gif"></div>
<!-- End content -->
<!-- Start Footer -->
</td>
</tr>
<tr>
<td height="32" background="images/footer.jpg"> </td>
</tr>
</table>As you can see, I have 1 table split in to 4 rows, 3 of which are fixed sizes, and the other I want to be dynamic to fill any extra space.
Row 1 - FIXED - 110px
Row 2 - FIXED - 30px
Row 3 - DYNAMIC (Well, supposed to be!!) - "%" also tried "100%", but didn't help.
Row 4 - FIXED - 32px
So basically, I'm hoping one of our resident gurus can tell me where I'm going wrong, and how I can get it to look as it does in the IE screenie across all browsers.
Many thanks!
