...

View Full Version : Simple fixed bg question?



Cascade
05-17-2003, 03:48 AM
I have an image I want to use for the background. I want it to have no reapeat, and at the bottom right hand side. What is the correct css code for this?



What I have know...


<style>
BODY {
background: #FFFFFF url('http://www.yabbskins.webmasteruserguide.com/bg.gif') no-repeat fixed;
margin-bottom:0px;
margin-right:0px;
background-repeat:no-repeat; background-attachment:fixed;
</style>

zoobie
05-17-2003, 05:35 AM
Huh (http://www.torgo.org/scripts/#float#float)?

meow
05-17-2003, 06:15 AM
You only have to say it once. And 'fixed' means that it won't scoll.

body { background: #fff url (whateveritwas/bg.gif) no-repeat right bottom }

http://www.w3.org/TR/REC-CSS2/colors.html



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum