[webkit-dev] disable scroll bars in webView....

David D. Kilzer ddkilzer at kilzer.net
Fri Aug 31 09:54:01 PDT 2007

Hi Kathryn,

Are you wanting to do this using HTML?  If so:

<img src="http://webkit.org/images/icon-gold.png" style="top: 200px; left:
200px; position: absolute;">

To make a containing element not scroll, use the "overflow: hidden" style (e.g.
to disable scroll bars for the entire page):

<body style="overflow: hidden;">
<img src="http://webkit.org/images/icon-gold.png" style="top: 1000px; left:
200px; position: absolute;">

BTW, if you have questions about HTML, neither the webkit-dev list nor the
xcode-users list is appropriate.  I would suggest the web-dev mailing list for



Kathryn Tate <kathryntate at comcast.net> wrote:

> Guys,
> Is there a way to disable the scroll bars in WebView so that the  
> image is fixed?
> Thanks

More information about the webkit-dev mailing list