Click to See Complete Forum and Search --> : Quick Q about scrolling and mozilla


DJRobThaMan
01-18-2006, 04:38 PM
Hi,

I've done the following to alter my body tag in an attempt to hide the browser's scrollbar.


<body scroll="no" style="background-color:#E4EFF5; overflow:hidden;">


And it works in IE and Firefox. But if you use the mouse roller thing that replaced the middle button a while back (that's right... I've got no clue what the official name for that thing is) you can still scroll down.

This is a problem for me because a have a couple of javascript drop down menus and I have them in invisible divs which have been positioned relatively to be where they should in the viewable portion on the page, but the browser keeps the space where they would be if they weren't positioned (which is down at the bottom of the page). So, when the user uses the mouse thingy to scroll down they don't see anything... jst the background color, which is not what I want. I don't want the page to be able to scroll at all. Is there any way to do this for mozilla?

Thanks,
Douglas

ray326
01-18-2006, 05:21 PM
Shorten the content or use absolute positioning.