automatic iframe height
I’ve been forced to use an iframe in an app I’m developing, for long and boring reasons.
One of the perennial problems that iframes presented was that their height needs to be specified upfront, and if the content within turned out to be too long then too bad; a nasty scroll bar would appear in the middle of the screen.
I spent hours googling for javascript hacks to dynamically resize the iframe, but in the end Tim Gummer pointed me to the good stuff. I was up and running in 15 minutes.
Dynamic height
- http://www.dynamicdrive.com/dynamicindex17/iframessi.htm
- http://www.mattcutts.com/blog/iframe-height-scrollbar-example
- http://archivist.incutio.com/viewlist/css-discuss/4586
- http://www.bigwebmaster.com/2334.html9a/
Css control of iframed content