If you aren’t supporting older browsers you can use css3 to achieve this. It will not work on browsers older than July 2009. Also, it will degrade the image quality, that’s why you don’t generally do it.
body {
background-image: url(myimage.png);
background-size: cover;
}
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
The topic ‘Stretching background’ is closed to new replies.
Our site uses only necessary functionality cookies.
See the cookies policy for more info.