Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can I use page up/down if the scrollbars are disabled

Status
Not open for further replies.

tango1948

Programmer
Dec 23, 2006
111
IL
Hi,
I have a screen that requires 100% width, so I don't want the scroll bars to appear.
But I want to use page up/down to scroll vertically, is this possible? if so how?
I've tried

{overflow: hidden; width 100%; height: 1200px}

but page up/down is disabled

Thanks for any help

David
 
overflow: hidden; means hidden. You cannot scroll to what will not be displayed (or am I misunderstanding the question?)

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
I thought that if I define the height as 1200px then hidden would be outside this limit.
Anyway what I basicaly want to do is hide the scrollbars and still have use of page up/down.

Thanks

David
 
I thought that if I define the height as 1200px then hidden would be outside this limit.

Overflow is defined as anything outside of what you can see in the window.

If your window is small enough, then an element defined as 100px in height will have some overflow.

<.

 
ok.
but can I hide the scrollbars and still use page up/down
keys to scroll verticaly?
 
I know of no way for that to be possible.

[small]"There's an old saying in Tennessee — I know it's in Texas, probably in Tennessee — that says, fool me once, shame on — shame on you. Fool me — you can't get fooled again." - George W. Bush[/small]
<.
 
Code:
<style>
body {
scrollbar-base-color: #FFFFFF;
scrollbar-arrow-color: #FFFFFF;
scrollbar-3dlight-color: #FFFFFF;
scrollbar-darkshadow-color: #FFFFFF;
scrollbar-face-color: #FFFFFF;
scrollbar-highlight-color: #FFFFFF;
scrollbar-shadow-color: #FFFFFF;
scrollbar-track-color: #FFFFFF;
}
</style>
That will turn the scrollbar completely white. Basically invisible. This works if your bg color is white. If you are using a solid color then you can change those colors. This isn't supported in Firefox. If you wanty to change each property here is what I used:
 
You can do that, but the scrollbar will still be there.

[small]"There's an old saying in Tennessee — I know it's in Texas, probably in Tennessee — that says, fool me once, shame on — shame on you. Fool me — you can't get fooled again." - George W. Bush[/small]
<.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top