Safari/Chrome (Webkit) - Cannot hide iframe vertical scrollbar

Posted by BrainCore on Stack Overflow See other posts from Stack Overflow or by BrainCore
Published on 2009-11-07T03:26:20Z Indexed on 2010/12/26 9:53 UTC
Read the original article Hit count: 262

Filed under:
|
|
|
|

Hello,

I have an iframe on www.mydomain.com that points to support.mydomain.com (which is a CNAME to a foreign domain). I automatically resize the height of my iframe so that the frame will not need any scrollbars to display the contained webpage. On Firefox and IE this works great, there is no scrollbar since I use <iframe ... scrolling="no"></iframe>. However, on webkit browsers (Safari and Chrome), the vertical scrollbar persists even when there is sufficient room for the page without the scrollbar (the scrollbar is grayed out). How do I hide the scrollbar for webkit browsers?

Thanks,

Ken

© Stack Overflow or respective owner

Related posts about css

Related posts about iframe