Showing posts with label CSS : Background Fixed Image. Show all posts
Showing posts with label CSS : Background Fixed Image. Show all posts

Thursday, March 17, 2011

CSS : Fixed Unscrollable Background Image

To create a fixed background image that won't scroll with the browser, copy and paste this scrumptious bit of Nyum-nyum code into your style sheet...


body{
background-image:url(path to your image);
background-repeat:no-repeat;
background-attachment:fixed;
}