1

I have a mouse move functionality to scroll a 3544 x 4092 image in a div, filling the whole screen.

I got rid of horisontal bars using:

body {
    overflow-x: hidden;
}

But nothing else works thus far for the vertical bars. Any ideas would be helpful.

This is the CSS for the div containing the image (its parent is the body):

#zoompage{
    cursor: pointer;
    position: absolute;
    width: 120%;  
    z-index: 300;
    left: -10%;
    top: 0px;
}
4

1 回答 1

2

Typically, you can prevent vertical scroll bars with overflow: hidden; or overflow-y: hidden;.

于 2013-04-22T01:40:30.153 回答