Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove iframe's scrollbars?

How to remove iframe's scrllbars? In Firefox it's easy, however I found myself unable to achieve this effect to be compatible with all major browsers.

like image 318
Paul Avatar asked Dec 16 '10 12:12

Paul


People also ask

How do I get rid of the vertical scroll bar in iFrame?

1) Set the scrolling attribute of the iframe to no (scrolling="no"). This will disable both horizontal and vertical scroll bars.

How do I get rid of the scroll bar in frames?

If you prefer a "clean" look to your page, free of any scrollbars and borders, you can specify this with tags placed within your "frame src" tag. Remove scrollbars by adding the tag "scrolling=no." Remove borders by adding the tag "frameborder=0."


1 Answers

If the CSS technique isn't working for you, try also adding the property scrolling="no" to the iframe HTML tag.

<iframe scrolling="no" src="..." >
like image 139
Coin_op Avatar answered Oct 13 '22 08:10

Coin_op