you have to add the following between "head" tags on your page where you want to hide scrollbars
Code: Select all
overflow:hidden;
Code: Select all
<head>
<style type="text/css">
html {
overflow:hidden;
}
</style>
</head>
scrollbars will be hidden if following line is in present: (inside of iframe tags ofcourse)
Code: Select all
scrolling="no"
reason why scrolling="no" did not work for me, is that these scrollbars are not from iframe, they appear, because the page inside of iframe gets squashed and then that page shows scrollbars, so if you use overflow:hidden in the page that will be put inside of iframe and then use scrolling="no" on iframe, then you can be sure there will be no scrollbars.