View Single Post
Old 05-30-2011, 01:22 PM   PM User | #4
AndrewGSW
Senior Coder

 
Join Date: Apr 2011
Location: London, England
Posts: 2,120
Thanks: 15
Thanked 354 Times in 353 Posts
AndrewGSW will become famous soon enough
For 100% height to work you need to give the parent containers this height as well: CSS
Code:
html {
    height: 100%;
}
body {
    height: 100%;
    overflow: auto; /* to prevent the body from appearing below the iframes */
}
But the height also includes the menu, etc., so the iframes will probably stretch beyond the browser viewport.

You could consider just giving the iframes a specific height and allowing scrollbars to appear.

Edited: You may need to set the iframe heights to 100% using CSS or the style attribute.
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS

Last edited by AndrewGSW; 05-30-2011 at 01:24 PM..
AndrewGSW is offline   Reply With Quote