Web Development HTML/CSS Subjective
May 19, 2013

How do you have a non-scrolling background image?

Detailed Explanation

You can use the background-attachment property. The background attachment can be included in the shorthand background property, as in this example:

body {

background: white url(bg.gif) fixed ;

color: #000 ;

}

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback