Forum Moderators: open
Nonetheless, I'd like to know if Netscape can be rendered in the same way as Internet Explorer when viewing the page.
I've set up two tables, one table being nested within a table. I've set up the table to 700 pixels wide and the height is 100% long. The second table that is nested within this table is sized at 500 pixels wide and the height is 100% long. The nested table is colored blue in order to remain distinguished from the main table.
Now, in IE it shows up the blue nested table as full page 'cause of the 100% height, but in Netscape, the 100% height doesn't do a thing and doesn't fill the whole page as it should be. To see such example, open IE and Netscape 4.x (not newer versions like 6.x or 7.x) and go to <snip> to see what I'm talking about.
Is there any tip to make 100% height empty nested table to fill up the whole page in Netscape 4.x like IE does (conform to browser height on screen)? I know that IE and Netscape are built differently.
Thanks in advance for any feedback on this quirky problem.
This problem is knottier than you may imagine. First, there's the question of valid code - did you realize that the W3C never recommended a height attribute for the table tag? And even though there was a height attribute for the <td> tag, even that is now deprecated, beginning with the HTML 4 spec.
However, a div can take a height attribute. But even with divs, Netscape 4 is still not well behaved.
OK, that's good to know, you may say, but you still have this practical issue. As far as I know the only way to get Netscape 4 to fill a given height is to give the table contents that require that amount of height in order to be rendered - even if that content is invisible/transparent.
So one very complex workaround is to use javascript to read the availableHeight and then write in a transparent gif with that specific height - a nasty bit of business, and nastier still when you try to accomodate resizing of the window.
Any other ideas out there?