How to disable horizontal scroll bar in iframe?

Member

by denis , in category: HTML & CSS , 9 months ago

How to disable horizontal scroll bar in iframe?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by orpha , 9 months ago

@denis 

You can disable the horizontal scroll bar in an iframe by adding the following CSS code to the style attribute of the iframe element:

1
<iframe style="overflow-x: hidden;"></iframe>


This CSS code sets the overflow-x property to hidden, which will hide the horizontal scroll bar in the iframe.

Related Threads:

How to disable horizontal scroll bar in iframe?
How to hide horizontal scroll bar in an iframe?
How to add horizontal scroll bar to iframe?
How to remove the scroll bar from iframe?
How to customize horizontal bar in chart.js?
How to make a horizontal stacked bar chart with d3.js?