怎样在页面背景设置一个图片,当拉动滚动条的时候,背景图跟着移动
这样就不会出现当页面数据太多,拉动滚动条时,背景图不动而造成页面难看。
---------------------------------------------------------------
设置 background-attachment: fixed
1<body background="img/big.gif" style="background-position: center;background-repeat: no-repeat;background-attachment: fixed;"></body>