2 replies [Last post]
rpineda
Offline
newbie
Last seen: 18 years 9 weeks ago
Joined: 2004-05-07
Posts: 1
Points: 0

Hi all

I have a table with a dived column in middle that contain some graphics.

Like this

<table><tr>

<td>Some stuff<td>

<td style="BACKGROUND-IMAGE: url(../images/bg_center_line.gif); BACKGROUND-REPEAT: repeat-y" valign="top">
<img height="1" alt="" src="../images/spacer.gif" width="45" border="0" />
</td>

<td>More Stuff<td>
</tr><table>

This works OK, I had to modify the layout and ended having
a table in the middle column. Like this

<table cellspacing="0" cellpadding="0" border="0" >
<tr>
<td>Blah blah</td>
</tr>
<tr>
<tr>
<td style="BACKGROUND-IMAGE: url(../images/bg_center_line.gif); BACKGROUND-REPEAT: repeat-y" valign="top">
<img height="1" alt="" src="../images/spacer.gif" width="15" border="0" />
</td>
</tr></table>

Now the image does not take all the vertical space, ( this was designed so if the 1st column changed , the second column will paint all the space ) Does not do it now.

is important to NOTICE that in the new table I need the first ROW not to have the background , so i cant not put the image-repeat in the aouter <TD>

Any help appreciated

Thanks

Rod

Daybreak_0
Offline
Enthusiast
Sydney, Australia
Last seen: 18 years 34 weeks ago
Sydney, Australia
Timezone: GMT+10
Joined: 2003-11-15
Posts: 389
Points: 0

TABLE PROBLEM NEED HELP

Link? Am not sure what you are asking. For example you mention columns, but code is two rows, one column.

There is an extra <TR> in your code. Not sure if that is causing problem.

Regards
Day

The only way to learn is to do it yourself

Maks
Offline
Regular
Afghanistan
Last seen: 18 years 9 weeks ago
Afghanistan
Joined: 2004-05-08
Posts: 21
Points: 0

TABLE PROBLEM NEED HELP

I'm not sure if I can help, but consider this for what it's worth.

In the first example you had 3 cols within the same row. So when one column changed length, the row length was increased automatically for all cols in that row.

In the second example it was one row with one column and another row with one column. changing the length of any column would only affect that row. They aren't linked that way.

When strong, feign weakness
When weak, feign strength
When on deadly ground, Fight!