Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSS height=100% in Mozilla

Status
Not open for further replies.

dirkg

Technical User
May 20, 2000
170
BE
Hi all,

I'm trying to have my application compatible with other browsers than IE, starting with Mozilla but I'm not getting it. I've looked through the forums but I did not find the solution. Therefore I was wondering whether somebody could have a look at the following page:

and help me to make it show decently in Mozilla, this means that the content (iframe) should show over the complete height of the page.

Thanks a lot in advance!

Kind regards,

Dirk
 
What exactly is your problem? Your page is wider and longer than my screen at 1284x1024 resolution. So either you're programming for extremely huge screens or your height problem is not that severe.

Bad news is, 100% height is equal to auto (meaning as high as the contents) unless you specify a fixed height for the container. If you really want 100% height without knowing the height of the parent upfront, you will need to use JavaScript. There have been numerous solutions mentioned here. Just search.
 
The problem is that on mozilla only something like the top 100px are used for the iframe instead of the whole screen like in IE. So you get a large white area on the bottom of the page that is not used
 
found it: the problem was the <form></form> tag which was placed around the table
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top