How can I hide horizontal scrollbar on an iframe?

$0
=
$0
+
$0
No specific Bitcoin Bounty has been announced by author. Still, anyone could send Bitcoin Tips to those who provide a good answer.
0

I need to hide scroll in Iframe

Tags: , ,

1 Answer - total earned - 0 BTC ($0 USD)

1
=
0
=
$0
Everyone, even non-registered users could send Bitcoin Tips to YOU if they are inspired by your answer!

You can try this combination in your code:

  1. CSS overflow-y: hidden;
  2. scrolling="no" (for HTML4)
  3. and seamless="seamless" (for HTML5)

<!-- begin snippet: js hide: false -->

<!-- language: lang-css -->

.foo-class {
  width: 200px;
  height: 200px;
  overflow-y: hidden;
}

<!-- language: lang-html -->

<iframe src="https://google.com" 
        class="foo-class" 
        scrolling="no" 
        seamless="seamless">
</iframe>

<!-- end snippet -->

SEND BITCOIN TIPS
0

Post Answer


Will Bitcoin Tipping become a new Internet Culture?


Please share our story! THANK YOU!