If I set overflow-x:hidden on the body/html tags, my background image will not scroll, it acts as if it’s fixed.
Can anyone explain why this happens??
Because you are telling the viewport not to show anything beyond what it already is. In effect you are freezing the initial window…if it can’t scroll the background doesn’t need to move.
I didn’t realise that your background extended downwards.
Do you have a link we can look at?
You must be logged in to reply to this topic.