Click to See Complete Forum and Search --> : Background...


weee
01-28-2005, 07:51 PM
I have image as a background and I want it to be align to the right, at the bottom and I want to be able to scroll the text over it.

That's what I got so far:
.main {
background: url('BG.jpg') no-repeat left bottom;
margin: auto;
text-align: center;
width: 740px;
height: 500px;
padding: 0px;
margin: 0px;
}

I can't the image to be align to the bottom and I can get it that way so I'll scroll the text over it. What am I missing?

Thanks!

Triumph
01-28-2005, 08:27 PM
Originally posted by weee
background: url('BG.jpg') no-repeat left bottom;
Try this:
background: url('BG.jpg') no-repeat 0 100% fixed;

GreyDog
01-29-2005, 12:44 PM
background-attachment: fixed;

Triumph
01-29-2005, 01:40 PM
Originally posted by GreyDog
background-attachment: fixed; LOL!

GreyDog
01-29-2005, 02:00 PM
Originally posted by Triumph
LOL!

..wassofunny!

it works.

AMOF it was the only way I could get a fixed bg to work in both IE & FF.