Jump to content

Problem with one of my table's rows


sciencebear

Recommended Posts

I have a certain table that looks a little like this:

 

<table>
<tr>
<th rowspan="3">[75x75 image]</th>
<td colspan="2">[text 1]</td><td rowspan="3">[side text]</td>
</tr>
<tr><td>[text 2]</td></tr>
<tr>
<td width="25px">[table with single cell and a 25x19 background]</td>
<td>[row of 19x19 images]</td>
</tr>
<tr><td>[bottom text]</td></tr>
</table>

 

I hope you can imagine my aim with this table. However, there are a few issues. Firstly, text 1, text 2, and table with the row of images wind up being taller than I want, with blank space at the bottom. I've tried several variations on padding, spacing, etc. to no avail. Secondly, for some reason the row of images is displayed so that the tops of the images are in line with the middle of the table in the td before it, however I want the tops to be aligned and no combination of vertical-align tags seems to work. Any help?

Link to comment
Share on other sites

<table border='1'>
<tr>
<td rowspan="3" height='75' width='75'>75x75</td>
<td colspan="2">text1</td>
<td rowspan="3">txt</td>
</tr>
<tr>
<td colspan='2'>text2</td>
</tr>
<tr>
<td width="25" height='19'>25x19</td>
<td height="19">19x19</td>
</tr>
<tr>
<td colspan='4'>btxt</td>
</tr>
</table>

 

Do you mean like this?

Link to comment
Share on other sites

  • 3 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.