Forum Moderators: open

Message Too Old, No Replies

I need help removing scrollbars

scrollbar in layer, but want to remove scrollbar on page

         

kellilicious

1:52 pm on Apr 8, 2002 (gmt 0)



ok...im designing a page that has a top banner which i want to stay static while the user can scroll the text area below. ive created a text area in a scrollable layer, but i dont want the actual browser window to have a scrollbar. how can i configue it so that there is only ONE scrollbar (the one in the layer in the main body where the text is).
I dont want to have to use frames for this.

is there any easy way ?

MikeFoster

5:27 pm on Apr 8, 2002 (gmt 0)

10+ Year Member



This works for IE and NN4...

<body scroll='no'>

...

</body>

MikeFoster

5:31 pm on Apr 8, 2002 (gmt 0)

10+ Year Member



Or you can use CSS, this works for IE:

body { overflow:hidden; }

kellilicious

10:11 am on Apr 9, 2002 (gmt 0)



bingo! thanks guys!....

one more question....now that ive done that, ive noticed that the scroll layer creates a both a vertical and a horizontal scroll. i dont need the horizontal scroll. is there anyway of removing that as well and just keeping the vertical scroll?
if you look at [keenerassociates...] on a high resolution (1152 or above)...the inactive horizontal scroll (bottom) is nearly in the middle of the screen. ive tried everything to get rid of it, but nothing worked. any ideas?

Jaya

11:16 am on Apr 9, 2002 (gmt 0)

10+ Year Member



Try with the following:

overflow-y:hidden --> To remove Vertical Scrollbar

overflow-x:hidden --> To remove the Horizontal Scrollbar