I don't want the body have the background picture. I want to apply it to my main div. If I set the image height to 100%, it generates a scroll-bar. If I give it pixels, it wont be fully responsive, and have white parts when resizing browser. I want it to exactly fit on every screen sizes but without a scrollbar.
<div class="another-div"></div>
<div class="container-fluid main"></div>
<style>
.main{
background-image:
url("templates/img/single/register_selector_background.png");
background-position: center;
background-repeat: no-repeat;
background-size: cover;
height: 100%;
overflow: hidden;
}
</style>