# Tables or CSS difficulties

**URL:** https://forum.kirupa.com/t/tables-or-css-difficulties/45220
**Category:** web dev
**Created:** [March 12, 2004, 2:47am UTC](https://forum.kirupa.com/t/tables-or-css-difficulties/45220 "2004-03-12T02:47:28Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Azeral](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@Azeral](https://forum.kirupa.com/u/Azeral)
#### Post date: [March 12, 2004, 2:47am UTC](https://forum.kirupa.com/t/tables-or-css-difficulties/45220/1 "2004-03-12T02:47:28Z")

</div>

Alright, I am trying to put my site into a layout in Dreamweaver, and possibly later on, a template.

What I need to put in is: A rectangular banner, some solid rectangular barrier about 20 pixels high under that, then a navigation menu on the left, and the content on the right. I wanted to have everything in one column in the center of the page, with a black border on the left and right sides, so when you resized it larger than the column, you see the page background (a repeating gif).

How can I go about doing this? I tried with css and I couldnt get a different background for the middle column from the repeating page background.

I tried with tables and I cant figure out how to center it, and how to positon the banner and the navigation within the table itself.

Any help, or tutorials?

It is supposed to look like this, except I want to make the menu with CSS.  
[[image]](http://test.sniperguild.com/SGPS.jpg)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 12, 2004, 11:34pm UTC](https://forum.kirupa.com/t/tables-or-css-difficulties/45220/2 "2004-03-12T23:34:51Z")

</div>

come on, i really need some help

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 13, 2004, 8:17am UTC](https://forum.kirupa.com/t/tables-or-css-difficulties/45220/3 "2004-03-13T08:17:50Z")

</div>

how concerned are you with proper xhtml?

```php

<html>
<body topmargin="0" bottommargin="0">
<!-- Table to hold other table -->
<table height="100%" width="100%" border="1">
<tr>
<td align="center" valign="top">
<!-- Centered Content -->
<table width="720" height="100%" border="1">
<tr>
<td colspan="2" height="70">Rec Banner</td>
</tr>
<tr>
<td colspan="2" height="20">Smaller Seperator</td>
</tr>
<tr>
<td width="120" valign="top">Left Bar</td>
<td width="600" valign="top">content</td>
</tr>
</td>
</table>
<!--/Centered Content -->
</td>
</tr>
</table>
</body>
</html>

```
