Quote from Jyoti Rajpurohit on June 5, 2020, 1:05 pmHi,
i'm trying to remove scrollbar from iframe. i set iframe height as 100%. but when i check in console it taking as 822px. when i set height = 5000px. in this condition, it removes the scrollbar but small form(has size 500px only ) showing as large area blank.
Code :
<div style='position: relative; padding-bottom: 100%; overflow: hidden;'>
<iframe width={{width}} src="{{URL}}" frameborder="0" style='position: absolute; top: 0; left: 0; right: 0; bottom: 0; max-width: 100%; border-radius:10px; height:100%' name="{{name}}"></iframe>
</div>Thank You !
Hi,
i'm trying to remove scrollbar from iframe. i set iframe height as 100%. but when i check in console it taking as 822px. when i set height = 5000px. in this condition, it removes the scrollbar but small form(has size 500px only ) showing as large area blank.
Code :
<div style='position: relative; padding-bottom: 100%; overflow: hidden;'>
<iframe width={{width}} src="{{URL}}" frameborder="0" style='position: absolute; top: 0; left: 0; right: 0; bottom: 0; max-width: 100%; border-radius:10px; height:100%' name="{{name}}"></iframe>
</div>
Thank You !