I got this div with an image inside that whenever I shrink the browser window the div starts to add space vertical. I have taken two screenshots, one screenshot describes how the div acts when it is stretched and the second shows how it pushes its height when it's shrinking.
https://i.stack.imgur.com/zlLuY.jpg
https://i.stack.imgur.com/QjWvw.jpg
The CSS-rules for this div is:
#Rectangle_3 {
    float: left;
    height: 383px;
    width: 99.688474%;
    background-color: white;
    position: relative;
    top: 0px;
    left: 0px;
    z-index: 75;
    margin-top: 20px;
    margin-left: 0%;
    clear: none;
    background-image:url("img/bluegreenconcert.png");
     -webkit-background-size: 100%;
    background-size: 100%;
    display: block;
    background-attachment: scroll;
    min-width: 0px;
    min-height: 0px;
    margin-left: auto;
    margin-right: auto;
    clear: none;
    margin-top: 0px;
    max-width: none;
    max-height: none;
    background-position: 0% 0%;
    background-repeat: no-repeat no-repeat;
}
I need help to find a solution to stop the div to push itself down when it is getting resized. Closest to a solution I have come to is to remove background-size. This will take away the extra vertical space added, though the div becomes non responsive if I do.
Here is another code sample of another div at the same page and it work as intended when resizing browser window.
#background1 {
    float: none;
    width: 100.2%;
    height: 2735.71%;
    color: rgb(0, 0, 0);
    position: relative;
    top: 0px;
    left: 0px;
    z-index: 63;
    background-image:url("img/background.png");
    -webkit-background-size: 100%;
    background-size: 100%;
    margin-top: 4px;
    margin-left: -0.21%;
    clear: none;
    display: block;
    min-height: 0px;
    margin-right: auto;
    min-width: 0px;
}
As you can see the code samples are very similar. Though #Rectangle_3 adds extra space.
 
    