The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

I have a web site that uses several tables and nested tables to display content. I use percentages (up to 100%) to accommodate any size resolution, although I realize that anyone higher than 800x600 is looking at a really wide web page. For all the content I have developed so far, the page is just fine.

My problem is that I have a CGI script which reads a database file and displays the contents in a table. Shouldn't be a problem. But the table goes wider than the screen width, causing the user to scroll. Well, that is not what I have to fix, but that has created a challenge. The top navigation bar, with a blue background, stops at the width of the screen (set at 100%). I want it to display as wide as the page is, including the area where you have to scroll. You can see what I mean at http://www.mrc-productivity.com/test.html .I really need to get this problem solved!

Setting the width of your data table to 100% won't help fit your entire page even for display 800x600. The table simply contains too many data, in other words too many characters are making your table wider.
My advice to you is:
- set your data table to 100% (you already have it right).
- set fonts inside the data table to "-2"
- place table under or above your left menu bar.
- so you are facing changing placement of left manu bar, probably horizotally would be better (above/under) data table.
- then, you'll feet into the 800x600at least.
or
- cut down on number of columns in data table...

To get your header to stretch over top of your content, put the whole page inside a single-celled table. The wide content lower in the page will stretch out this enclosing and make your 100% header wider.

If that doesn't work, try makig your header part of the same table that contains your data.