CSS Background-Attachment: Fixed
When I use background-开发者_Python百科attachment: fixed; in firefox the top part of the page has a weird border
Example image: http://www.socialaddicts.net/wtf.png
It works on another page and in other browsers, just not this page // browser.
The image has a top border embedded in it.
The only reasons I can think of that it doesn't appear on another page is that your css is positioning the border part of the image off screen.
If I were you, I'd take the border out of the image.
<style>body {background-image:url('untitled.JPG'); background-attachment: fixed; background-repeat: no-repeat;" }</style>
you have to add this:
*{margin:0;padding:0;}
But well, it's an image, not a webpage so you can't i guess.
精彩评论