Here's a quick paint drawing on what i wanna achieve.

Eventhere is not enough content text to stretch the table, I still want it to stetch 100% height.
Posted 02 May 2006 - 05:07 AM

Posted 02 May 2006 - 05:11 AM
Posted 02 May 2006 - 06:17 AM
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
html, body{height:100%;margin: 0;}
body {
background: url(images/bg.gif) #FFF;
font-family: Arial, sans-serif;
font-size: 12px;
}
#container {
width: 826px;
background: url(images/bg2.gif) #FFF repeat-y center;
height: 100%
}
#header {
text-align: center;
vertical-align: top;
height: 147px;
}
#footer {
background: url(images/bg3.gif) center repeat-y;
color: #FFF;
padding: 9px;
height: 50px;
text-align: center;
}
#content {
padding-left: 10px;
padding-right: 10px;
vertical-align:top;
}
-->
</style></head>
<body>
<table align="center" border="0" cellpadding="0" cellspacing="0" id="container">
<tr>
<td valign="top" id="header"><img src="images/banner.jpg" alt="" width="808" height="147" /></td>
</tr>
<tr>
<td valign="top" id="content"><p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam sed neque euismod ante mattis vestibulum. Nunc id mi
in lorem porta onsectetuer. Nulla facilisi. Cras pharetra lobortis pede. Morbi suscipit libero sed tortor. Vestibulum sit
amet nisi. Maecenas sit amet eros id mi suscipit blandit. Pellentesque tempor aliquam augue. In blandit. Vivamus ligula
arcu, varius quis, vulputate a, condimentum ac, nisi. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices
posuere cubilia Curae; Nam a orci in augue volutpat rutrum. Sed et leo. Nulla cursus risus vel pede. Etiam ipsum arcu,
tempor tempor, dictum eu, sollicitudin eget, lacus.</p>
<p> </p>
<p> </p></td>
</tr>
<tr>
<td id="footer">Copyright © 2006, All Rights Reserved </td>
</tr>
</table>
</body>
</html>
Posted 02 May 2006 - 04:38 PM
Posted 02 May 2006 - 05:29 PM
Posted 02 May 2006 - 05:39 PM
0 members, 1 guests, 0 anonymous users