Click to See Complete Forum and Search --> : tables question


km01grant
02-11-2003, 11:16 PM
I have a 4 cell table set up that includes text and 2 small icons in each cell. The table is set as
table cellpadding="10" border="1" width="100%"

So why would the cells be different sizes? The icons are all the same size and each cell begins with div align="justify".

The cells are not set at a specific size so I can't figure out why they are different sizes. The amount of text in each shouldn't affect the width of the cell.

pyro
02-11-2003, 11:32 PM
Originally posted by km01grant
The amount of text in each shouldn't affect the width of the cell. But it does. If you want the cells to be the same size, in your first <tr> add width to each <td> something like this:

<tr>
<td width="25%"></td>
<td width="25%"></td>
<td width="25%"></td>
<td width="25%"></td>
</tr>

km01grant
02-11-2003, 11:41 PM
Thanks, that worked and don't know why I didn't think of doing that to begin with.

One more question...How would I make an outline of the cell or table where the lines come up to the meet the heading at the top. I'm not talking about the border size of the table but I can't think of the name of it or where I saw the instructions for it.

CyCo
02-12-2003, 12:01 AM
Could you be more specific?