First, CSS set background does not scroll effect
<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://
Www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd ">
Second, CSS settings body background picture fixed content scrolling
CSS to make the body background picture fixed content scrolling:
Style= "Background-attachment:fixed"
Example:
Body {
Background-image:url (images/dbg.jpg);
background-repeat:no-repeat;
font-family: "XXFarEastFont-Arial";
font-size:12px;
Line-height:normal;
Font-weight:normal;
Color: #FFFFFF;
background-attachment:fixed;
}
Third, CSS fixed background picture does not scroll
Example:
Four, CSS Settings page background does not move only the effect of rolling bar
Method One (the page background does not move only the scroll bar moves):
Method Two (the page background does not move only the scroll bar movement):
From the above examples to see the background is not scrolling through the positioning to solve, the above example is all right, you can choose your own effect code.