table background in a nested table

admin

Administrator
Staff member
I am trying to create a page with a border around the outside of the content. The border on the left and right sides is an 6 x 6 image that should tile down the side. Since netscape has the background issues in TD's I have opted to nest some tables and put the image in the table background. The problem I am having is my cell is the right size and goes down the side of the page but I cannot get the table I have nested in this cell to expand down the page. It is just a 6 x 6 table. <br />
<br />
Here is a tid bit of the code:<br />
<br />
<td align="left" valign="top" rowspan="10"> <br />
<br />
<!--********** nested table ************** --><br />
<table border="0" cellpadding="0" cellspacing="0" background="side_border.gif"><br />
<tr><br />
<td align="left" valign="top"><img src=http://www.htmlforums.com/archive/index.php/"spacer.gif" width="6"></td><br />
</tr><br />
</table><br />
<!--********** out of the nest ************** --> <br />
</td><br />
<td align="center" valign="top"><br><img src=http://www.htmlforums.com/archive/index.php/"new_logo_1.gif" width="356" height="108"></td><br />
<td align="right" valign="top" rowspan="10"><br />
<br />
<br />
<!--********** nested ************** --><br />
<table border="0" cellpadding="0" cellspacing="0" background="side_border.gif"><br />
<tr><br />
<td width="6" align="right" valign="top"><img src=http://www.htmlforums.com/archive/index.php/"spacer.gif" width="6"></td><br />
</tr><br />
</table><br />
<!--********** back out ************** --><br />
<br />
<br />
<br />
<br />
Any advice? Thanks/<!--content-->you can't get the table to go down the page because the table is null. any browser will not make a table full length if the table has nothing in it.<!--content-->Is there any work around?<!--content-->ya put something in the table.<!--content-->I have a spacer gif in the table. Does the content of the table have to = in length the size of the <td> it is nested in?<br />
<br />
Thanks 4 your help<!--content-->the table cell will only be as big as the img that is in it. you can use a lot of these, <br> but looks ugly and won't be dynamic to the site if it changes.<!--content-->that's what I was afraid of. it needs to be dynamic to take into account changes in text size & if my client wants to add more content down the road.<br />
<br />
Oh, well. I ended up adding a <td bgcolor=> and it will suffice.<br />
<br />
Thanks for you help.<br />
<br />
-Stephen<!--content-->
 
Back
Top