How can I set a full-screen background image that adjusts to the body width without horizontal scrolling, maintains height proportionate to width, and allows for vertical scrolling? Here is my current code:
html, body {
margin: 0px;
padding: 0px;
}
body
{
background-color: #767676;
}
#wrapper {
position: absolute;
min-height: 100%;
width: 100%;
background: url('back.jpg') no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
border: 0;
background-size:100% auto;
}
However, the height shrinks and there is no vertical scroll. How can I fix this?