PDA

View Full Version : 100% height table causing me grief


Billy T
06-08-2005, 02:29 AM
Hey all

this should be pretty simple

Please have a look at - http://www.esolution.com.au/new_index2.php

The page has a flash menu, then an image for the top of the content area, then a table that I want to stretch to the remainder of the browser window (so I get the shadow going right down on both sides).

So I set the height of the table to 100% and both safari and IE (mac) take the height of 100% of the browser window and apply this to the height of the table (so I end up with scrollbars) - I just want to make it 100% of whatever is left

Please put me out of my misery

Thanks

Cota
06-09-2005, 03:58 AM
I would try using a nested table. The first table would be 2 rows, the header and the rest. Set it to 100% by 100%, then in the second row, create the other table that you already have. I think that should fix the scrollbar issue.

Billy T
06-09-2005, 04:29 AM
hmm was sure I had tried that...seems to be working though

http://www.esolution.com.au/new_index.php

still not working on Safari but I can live with that

Thanks for your help