![]() | ![]() |
| My Mic to the World... |
|
|
Source Code Ever wonder how to create an iframe that fills the entire height (and width) of a page? You probably tried writing something like: <iframe width=100% height=100%></iframe>
and expected the iframe to fill up whatever it could. The width=100% does what you expected and fills up the entire width of the page, but the height just stays about 200px.Here's some easy JavaScript to do exactly this: Put this in the head of your page:
And inside your page's body create the iframe tag:
If you decide to use this code all I ask is that you . |