Languages
[Edit]
EN

HTML - disable iframe scrollbar

3 points
Created by:
Isaiah89
751

In this article, we would like to show you how to disable iframe scrollbar using HTML attribute.

Quick solution:

<iframe scrolling="no"></iframe>

 

Practical example

In this example, we disable scrolling inside the iframe using scrolling attribute set to no.

// ONLINE-RUNNER:browser;

<!doctype html>
<html>
<body>
  <iframe src="https://dirask.com/findings"
          style="width: 80%; height: 250px"
          scrolling="no">
  </iframe>
</body>
</html>

 

Alternative titles

  1. HTML - remove scrollbar from iframe
  2. HTML - disable iframe scrolling
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join