X96 Web Design
06-27-2009, 01:51 AM
I don't know if someone's already figured this out, but from what I've read, nothing seemed to work.
I just figured out how to make an Iframe have a fluid width and height!
Here's how: add !important to the height and width CSS on it:
<iframe src="page.html" style="display:block; width:100%!important; height:100%!important;" />
It works in Firefox 3 (What I'm using). If anyone could post the results in other browsers/versions, it would be great!
Cheers,
X96
I just figured out how to make an Iframe have a fluid width and height!
Here's how: add !important to the height and width CSS on it:
<iframe src="page.html" style="display:block; width:100%!important; height:100%!important;" />
It works in Firefox 3 (What I'm using). If anyone could post the results in other browsers/versions, it would be great!
Cheers,
X96