Help - Search - Members - Calendar
Full Version: table height
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
asmith
hey guys

CODE
<table width="500" border="1" cellspacing="0" cellpadding="0" align="center">
<tr><td height="50">A</td><td rowspan="3">LONG TEXT</td>
</tr>
<tr><td height="50">c</td>
</tr>
<tr>
<td>d</td>
</tr></table>


that table has 3 TD in left and 1 TD in right. i want to put a large text on the right TD and when it is expanding the table ONLY the lowest TD from left expand too and the height of the 2 others stay still .
the above code works well in fore fox and opera ,but it won't work in IE6. IE expand the other TD too.

any way i make it right for IE 6?

(any css code with same effect? )

thanks
Christian J
To make IE behave, you can put the fixed-height content inside e.g. DIV elements at the top of the left column.
asmith
emmm .. don't those 2 top-left TDs expand then ? i mean if i put a fixed-height for content , thei content will be fixed, but those 2 TDs will still expand. example: if i put a picture in those TDs, like the very top-left one a humans head , then second his body, still they will split.
Christian J
I meant a table with just two cells, and with one or more DIVs at the top of the left cell.
asmith
hmmm good point, i'll give it a try and let you know.

but i guess it will work ! thanks a lot man!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.