Hi,
I seem unable to find the right way to have an iframe that is 100% tall / wide and works like a body normally would.
I know that an iframe based on the body that has no fixed height means it has nothing to base the 100% height on.
I've tried
but that creates two scroll bars.
I've tried giving the body a stupid height with overflow scroll on the body and the iframe overflow hidden and vice versa, nothing works like I want and all because annoyingly FF won't let you remove the address bar from popup windows.
Some of our new shinny HTML5 members area is being launched over a new MVC PSGI application, while some of the old legacy CGI stuff is to be skinned not ported over, so I don't want the old URL's showing in the address bar, they cannot simply visit them as a standard URL.
So I created a page in the new system that needs to be a full size 100% height/width iframe so it looks like it is the actual page of the app as if it was a full normal URL and has a page down scroll bar that works properly and only one!.
Howe do you achieve this?
Thanks,
1DMF.
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music
I seem unable to find the right way to have an iframe that is 100% tall / wide and works like a body normally would.
I know that an iframe based on the body that has no fixed height means it has nothing to base the 100% height on.
I've tried
Code:
body {
margin: 0;
padding: 0;
height:1000px;
overflow:scroll;
}
iframe {
width:100%;
height:100%;
overflow:hidden;
display:block;
}
but that creates two scroll bars.
I've tried giving the body a stupid height with overflow scroll on the body and the iframe overflow hidden and vice versa, nothing works like I want and all because annoyingly FF won't let you remove the address bar from popup windows.
Some of our new shinny HTML5 members area is being launched over a new MVC PSGI application, while some of the old legacy CGI stuff is to be skinned not ported over, so I don't want the old URL's showing in the address bar, they cannot simply visit them as a standard URL.
So I created a page in the new system that needs to be a full size 100% height/width iframe so it looks like it is the actual page of the app as if it was a full normal URL and has a page down scroll bar that works properly and only one!.
Howe do you achieve this?
Thanks,
1DMF.
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music