javascript - How To Remove Awesomium.net Scroll Bars? & Auto Scroll? -
i want remove scroll bars awesomium.net web control.
in visual studio defualt web browser can remove scroll bars this.
public sub loadvideo(plink string) webbrowser1.scrollbarsenabled = false end sub
but dont know how on awesomium.net web control.
if there isn't way on awesomium.net web control, there javascript or css code can put webpage achieve 2 things?
thanks.
i haven't used awesomium, it's best remove scrollbars in css. if whole outer web control/page has no scrollbars, page can have element in takes or of view area , have scrollbars.
it depends if want hide graphical scrollbar or disable scrolling. usual way stop element scrolling use css overflow
property, so:
/* disable scrolling on body */ body { overflow:hidden; } /* optionally, disable scrolling on (not recommended because it's strong) */ * { overflow:hidden; }
there's more information searching "css remove scrollbars" or in this previous answer.
Comments
Post a Comment