|
Posted by mbstevens on 08/18/06 20:07
On Fri, 18 Aug 2006 21:55:01 +0200, Els wrote:
> How about showing the current table version? Makes it easier to
> visualize the desired result.
Yes, and the tables need cleaning up first.
To understand the kind of table the op is trying to replace, we
need a good table to start with.
If you re-indent your markup in a rational way, you can immediately
see that the table just doesn't make any kind of sense.
<table width="100%">
<tr>
<td><img ... /></td>
<td width="100%">
<table>
<tr>
<td width="100%">Text 1</td>
<td><img .../></td>
</tr>
</table>
</td>
</tr>
... (have 100's of these TRs)
</table>
So you have a row with one td set to 100% of the table width (which
would better have been done in CSS, since width for a td is deprecated
in most newer doc types), and another td that needs to display an image on
the same row.
Also, width and height attributes of any image (in a td or not in one)
should be specified.
Op also needs to switch to a strict doc type and close every tag, so that
both you and the browser can keep track of where things are supposed to be.
<table>
<tr>
<td>
</td>
</tr>
</table>
Navigation:
[Reply to this message]
|