morya
asked on
getting three columns to have exactly the same height
Hi.
I have three cells (columns) within a table. The columns are in the same row.
The problem I'm having is that I want all three columns to have the exact same height even though the columns have differing amount of content.
What's happening is that when I put more content in cell #3 it expands, and then it is difficult to have the other columns match exactly the height of column #3 because they have less content.
What do I have to do to make all the contents format so that they all have exactly the same height and therefore have their top and bottom borders line up exactly?
Michael
I have three cells (columns) within a table. The columns are in the same row.
The problem I'm having is that I want all three columns to have the exact same height even though the columns have differing amount of content.
What's happening is that when I put more content in cell #3 it expands, and then it is difficult to have the other columns match exactly the height of column #3 because they have less content.
What do I have to do to make all the contents format so that they all have exactly the same height and therefore have their top and bottom borders line up exactly?
Michael
If you have 3 cells in the same row, the whole row will have the same height as the largest cell in the row. So I'm not sure I understand what you're trying to do here. Could you try to explain a bit more?
As firelights also asks, a URL would be nice.
As firelights also asks, a URL would be nice.
<table>
<tr>
<td>blah</td><td>blah</td> <td>blah</ td>
</tr>
</table>
So that's your format? Just modify your 3 <td> tags to be <td height=20> or whatever size you need - they will stay the same height regardless of content.
<tr>
<td>blah</td><td>blah</td>
</tr>
</table>
So that's your format? Just modify your 3 <td> tags to be <td height=20> or whatever size you need - they will stay the same height regardless of content.
ASKER
I've got nested tables. I'll put the code in here later tonight. I have put a height in each of the td's but it hasn't helped,yet.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
is it what u want: here it is
==========================
<html>
<head>
<title>Untitled</title>
</head>
<body>
<table border=0 cellpadding=0 cellspacing=0 width=450>
<tr><td align=left valign=top width=150><table border=0 cellpadding=0 cellspacing=0>
<tr><td align=left valign=top>content 1 content 1 content 1 content 1 content 1 content 1 content 1 content 1 content 1 content 1 </td>
</tr></table></td>
<td align=left valign=top width=150><table border=0 cellpadding=0 cellspacing=0>
<tr><td align=left valign=top>content 3 content 3 content 3 content 3 content 3 content 3 content 3 content 3 content 3 content 3
content 3 content 3 content 3 content 3 content 3 content 3 content 3 content 3 content 3 content 3
content 3 content 3 content 3 content 3 content 3 content 3 content 3 content 3 content 3 content 3
content 3 content 3 content 3 content 3 content 3 content 3 content 3 content 3 content 3 content 3
content 3 content 3 content 3 content 3 content 3 content 3 content 3 content 3 content 3 content 3
content 3 content 3 content 3 content 3 content 3 content 3 content 3 content 3 content 3 content 3 </td>
</tr></table></td>
<td align=left valign=top width=150><table border=0 cellpadding=0 cellspacing=0>
<tr><td align=left valign=top>content 2 content 2 content 2 content 2 content 2 content 2 content 2 content 2 content 2 content 2
content 2 content 2 content 2 content 2 content 2 content 2 content 2 content 2 content 2 content 2
content 2 content 2 content 2 content 2 content 2 content 2 content 2 content 2 content 2 content 2 </td>
</tr></table></td>
</tr></table>
</body>
</html>
==========================
firelights