I want a left-column menu bar and a right-column data area. The menu
items (6 or so) are fixed-height and the space below them needs to
expand. I've run into a strange situation only with IE6. Please try the
code below and help me figure out what's going on.
Execute the following code in Explorer:
--------------------
<TABLE BORDER=1 height="100%" width="100%">
<TR height="34"><Td width="125">A</TD><Td rowspan="6">
<p>blah</p>
<p>blah</p>
<p>blah</p>
<p>blah</p>
<p>blah</p>
<p>blah</p>
</TD></TR>
<TR height="34"><Td >B</TD></TR>
<TR height="34"><Td >C</TD></TR>
<TR height="34"><Td >D</TD></TR>
<TR height="34"><Td >E</TD></TR>
<TR><TD ROWSPAN=2>F</TD></TR>
</TABLE>
--------------------
Notice that B C D E are all the correct height.
Now add one more <p>blah</p> line to the others like so:
--------------------
<TABLE BORDER=1 height="100%" width="100%">
<TR height="34"><Td width="125">A</TD><Td rowspan="6">
<p>blah</p>
<p>blah</p>
<p>blah</p>
<p>blah</p>
<p>blah</p>
<p>blah</p>
<p>blah</p> <!-- added line here -->
</TD></TR>
<TR height="34"><Td >B</TD></TR>
<TR height="34"><Td >C</TD></TR>
<TR height="34"><Td >D</TD></TR>
<TR height="34"><Td >E</TD></TR>
<TR><TD ROWSPAN=2>F</TD></TR>
</TABLE>
--------------------
and all the sudden all the 34px tall cells start to grow. Add more
"blahs" and they keep growing. This only happens on Explorer. It seems
that 6 lines is the threshold before the rows start expanding.
How do I get around this? I haven't coded HTML for a while so this one
is new to me. It works fine on Firefox and the Mac browsers... it seems
like IE6 is the only strange one.
Thanks!