looking for an html code for a background image?
i need a code where the background image streches and when you scroll down it stays there instead of moving and tilling
Public Comments
- here is an example: body { background-image:url(http://img186.imageshack.us/img186/184/gundamseeddestinyur2.jpg); background-position:center center; background-repeat:no-repeat; background-attachment:fixed; } works for my page
- <BODY background="image.gif" bgproperties="fixed"> If you want it to stretch try <background-repeat: repeat-x >or repeat-y depending on which way you are wanting it to stretch
- background: <body background="./test.jpg"> </body>
Powered by Yahoo! Answers