Monday, 24 December 2012
The scrolling attribute on the iframe element is obsolete. Use CSS rule instead
Use CSS Rule "overflow:hidden" to hide Hide Scroll-bar
<iframe style="overflow:hidden;"></iframe>
The scrolling attribute on the iframe element is obsolete in HTML5. Use CSS rule instead as above. Many webmasters prefer to remove the scrollbars when they're not needed, but make them appear when they are needed. Doing this is almost exactly the same as hiding the scroll bars (as above). The only difference is that the overflow property is set to auto instead of hidden.
<iframe style="overflow:auto;"></iframe>
Share:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment