Hey all. Just designing my new website, <!-- m --><a class="postlink" href="http://www.freewebs.com/plethora">http://www.freewebs.com/plethora</a><!-- m --> and I've come across a problem whilst trying to design the site and graphics. I want to put a static bg image in the <body> using a style tag in the <head>. I've tried doing...
"<style type="text/css">
body {background-image: images/imagepath.gif; position: centre; }
</style>"
...but i don't know how to make the image static so that it doesn't move when the page scrolls the image doesn't, not that I want the page to scroll anyway. Grr, and I wanted the site up last week. lol. Thanks for your help.
Phil/Plethorabody {
background: url(images/imagepath.gif) fixed;
}Thanks a lot people. I'll giva a big mention to yas on the site when it goes live. Cheers.People?Fine, thanks BonRouge. Anywayz, could you help me with one more thing please? How do you get the image in the backgrount to NOT repaet across the page, say when someone has their res. at 1024x768, while the image in question is 800x600? Thanks a lot. See yas. grr, bloody typo faeries...body {
background: url(images/imagepath.gif) no-repeat fixed;
}Hey, thanks a lot. Yipeee....*skips into the sunset*
"<style type="text/css">
body {background-image: images/imagepath.gif; position: centre; }
</style>"
...but i don't know how to make the image static so that it doesn't move when the page scrolls the image doesn't, not that I want the page to scroll anyway. Grr, and I wanted the site up last week. lol. Thanks for your help.
Phil/Plethorabody {
background: url(images/imagepath.gif) fixed;
}Thanks a lot people. I'll giva a big mention to yas on the site when it goes live. Cheers.People?Fine, thanks BonRouge. Anywayz, could you help me with one more thing please? How do you get the image in the backgrount to NOT repaet across the page, say when someone has their res. at 1024x768, while the image in question is 800x600? Thanks a lot. See yas. grr, bloody typo faeries...body {
background: url(images/imagepath.gif) no-repeat fixed;
}Hey, thanks a lot. Yipeee....*skips into the sunset*