Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to allow a div with a bg-image to go negative left? Re: How to allow a div with a bg-image to go negative left?

#79684
Amida
Participant

Ok that worked perfectly but another problem appears.

It’s that the body background keeps going negative left while the content div doesn’t. I have to do something to tell the browser "Hey man, stop to move the body background if the content div cannot go left anymore."

Well I was expecting it actually. It’s the same for the css-tricks website header: you will see that there is a moment where the header keeps going left (something like 20 px) while the content has reached the screen left border. (the * logo thing almost disappears)
In my case since it’s the body, it keeps moving forever and won’t stop.

Still looking for a solution. But thanks for your help!