469,908 Members | 2,219 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,908 developers. It's quick & easy.

<td style="height:100%"> IE6 and FireFox

Hey guys,
Here is my problem.
I have a page consisting of a table with one row and 2 cells.
Inside the first cell is a table that serves as a table of contents. That table has several rows with one cell in each row. The cell in the last row is empty except for the background image in all of this table's cells. The other cells contain text from a database

The second cell of the larger table contains a databound list.

What I want is for the table in the first cell to always be the size of that cell. That is, in the second table, all of the cells should always be the same size except for the last one. If the list is longer than the table, I want that last cell to expand to make up for it. It's ok if the list is shorter than the toc table but the toc table should never be shorter than the list.
To that end I added this to that last cell:
<td style="height:100%">. It's table also has <table style="height:100%">
It works in IE6 but not in FF.
Any suggestions?
Jan 12 '07 #1
2 8850
1,892 Expert 1GB
If I'm reading correctly, you want to use overflow: auto; not height. If that doesn't work post the full code or a link to the page please.

Jan 12 '07 #2
7,435 Expert 4TB
Until we get the link or the complete code, two things:
1) Never trust IE to display anything properly. If it doesn't work in Firefox, then the code is somehow bad.
2) Never use tables for layout. This would be easy with CSS.
Jan 13 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Federico Moschini [328594] | last post: by
4 posts views Thread by John MacIntyre | last post: by
10 posts views Thread by Eric-Sebastien Lachance | last post: by
20 posts views Thread by AndyZa | last post: by
16 posts views Thread by Tantale | last post: by
5 posts views Thread by Jean Pierre Daviau | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.