table extension to bottom of screen and gutter problem

  • Thread starter Thomas Scheiderich
  • Start date
T

Thomas Scheiderich

I am trying to set up a template for my HTML pages with a content area
surrounded by top, left and bottom which are images and blue backgrounds.

I have a set of tables I am trying to set up to extend to the bottom of
the page or the end of the page - whichever is greater.

What I have is a table with 3 rows.

The top row is the top of my page with my logo (mostly blue) and some
menus.
The bottom row is the bottom of my page (blue).
The middle row has a 2 column table, where the left cell is also blue
with some buttons on it.

That frames my page.

The right cell of the middle row is where my content is. The size of
the page is determined by my content area.

What I want to do is to make sure the bottom row is always at the bottom
of my page - even if there is only one line of data in the content.

I pretty much got it working.

The problem is that I have a gutter area all the way around the tables.
Is there anyway to get the tables to extend to edge of the window so
that the whole area is blue (#000099).

The code I am working with now is:

*********************************************************************
<%@ Page Language="VB" ContentType="text/html"
ResponseEncoding="iso-8859-1" %>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<table cellpadding=3 width=100% height="100%" border=0 cellspacing=0>
<tr>
<td height=50 colspan=3 bgcolor="#000099"><img
src="images/kc_logo_intranet_hr.jpg" width="750" height="100"
align="bottom"></td>
</tr>
<tr>
<td width=1 bgcolor="#000099"><img src="images/spacer.gif"
width=1 height="100%"></td>
<td bgcolor="#000099">menu</td>
<td width=150 valign=top>
<table cellpadding=2 border=0 cellspacing=0 width=600>
<tr>
<td>Body text goes here.
</td>
</tr>
</table>
</td>
</tr>
<tr height=20>
<td colspan=3 bgcolor="#000099">&nbsp;</td>
</tr>
</table>
</body>
</html>
*************************************************************

Thanks,

Tom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top