Blogs from the Members of Dynamic Drive Forums
Featured blog entry from molendijk
|
|
Replacing iframe attributes with javascript (HTML5)Posted 01-11-2012 at 08:12 PM by molendijk
I was working the other day on a script for setting the height of an iframe to match the height of its content and noticed that under certain circumstances the iframe gets its scroll bars 'back' when it shouldn't. This happens mainly when the iframe is given a very small width. Overflow: hidden solves the problem in Firefox (most of the time), but not in IE. This browsers needs scrolling="no", which also works in non-IE. However, attributes like scrolling="no" and frameborder="no"...
|
|
Recent Entries
|
Recent Comments |
|
|
| Find more... |



