Remove scroll bar from iframe, Show iframe without a vertical scroll bar |
Remove scroll bar from iframe, Show iframe without a vertical scroll bar |
CharlesEF |
Feb 3 2019, 06:56 PM
Post
#1
|
Programming Fanatic Group: Members Posts: 1,981 Joined: 27-April 13 From: Edinburg, Texas Member No.: 19,088 |
Hi All,
Ok, what is the trick to removing the scroll bar from an iframe. HTML5 specs state that CSS should be used but 'overflow: hidden;' has no effect. The only thing that does work is 'scrolling="no"' but HTML5 doesn't support it. The container that holds the iframe is big enough and the scroll bar should not appear but it does. Does this mean I have to use HTML4 instead of HTML5? Thanks for any help, Charles |
Christian J |
Feb 8 2019, 01:42 PM
Post
#2
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
I suppose you could use "overflow-y" to make sure only the vertical scrollbar is affected. As for the blank area, my head is spinning. :-p
|
CharlesEF |
Feb 8 2019, 04:01 PM
Post
#3
|
Programming Fanatic Group: Members Posts: 1,981 Joined: 27-April 13 From: Edinburg, Texas Member No.: 19,088 |
I suppose you could use "overflow-y" to make sure only the vertical scrollbar is affected. As for the blank area, my head is spinning. :-p Yes, that works but it makes the response text look funny because part of the right side is hidden by the scrollbar. I'll just leave it as is. The user can decide if they want to do horizontal scrolling. Thanks, Charles This post has been edited by CharlesEF: Feb 8 2019, 04:01 PM |
Lo-Fi Version | Time is now: 25th April 2024 - 10:15 PM |