View Single Post
Old 04-08-2006, 12:02 PM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,529
sde is on a distinguished road
some people are hardcore CSS people, but for the skeleton of a site with columns, i still prefer to use tables. This format will be scalable for any resolution.
HTML Code:
<html>
<body>
<div>Here is my top banner</div>
<table border=0 cellspacing=0 cellpadding=0 width=100%>
<tr>
  <td width=150 valign=top>This is my left menu</td>
  <td valign=top>This is my main content</td>
</tr>
</table>
</body>
</html>
now when you want to re-use the header/footer/navigation, i would do this:

This is my header include
HTML Code:
<html>
<body>
<div>Here is my top banner</div>
<table border=0 cellspacing=0 cellpadding=0 width=100%>
<tr>
  <td width=150 valign=top>This is my left menu</td>
  <td valign=top>
This is my footer include
HTML Code:
</td>
</tr>
</table>
</body>
</html>
And each page would look like this. (i'm using php includes cause i'm not familiar with asp from memory)
HTML Code:
<?
include("header.html");
?>
This is my content
<?
include("footer.html");
?>
sde is offline   Reply With Quote