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

David D. Kilzer ddkilzer at kilzer.net
Fri Aug 31 11:34:41 PDT 2007


If you're going to build your own custom version of WebKit, you could modify
WebCore/css/html4.css and WebCore/css/quirks.css to include the "overflow:
hidden;" style on the body tag.  This would have essentially the same effect.

I'm not aware of any "switch" to disable scroll bars completely (although that
doesn't mean there isn't one).

Dave


Kathryn Tate <kathryntate at comcast.net> wrote:

> Actually, yes, I see what you are doing, but I meant something  
> entirely different--kind of strange.
> 
> Is it possible to disable the scrolling bars WebView in Xcode? (I am  
> asking WebKit group as you have
> produced the bridge to making browsers).
> 
> What I am trying to do is create a web browser that is tiny and has  
> no scroll bars--the images
> would be thumbnails.
> 
> Thanks, Kathryn
> 
> 
> 
> On Aug 31, 2007, at 9:54 AM, David D. Kilzer wrote:
> 
> > 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;">
> > </body>
> >
> > 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
> > that:
> >
> > http://lists.apple.com/mailman/listinfo/web-dev
> >
> > Dave
> >
> >
> > 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