I know this isn’t possible in CSS, but is there a way to use the “position: fixed;” principle on a background image exclusively on the X-Axis?
I thought there might be a JavaScript solution if I crammed the background image in a DIV,
but I don’t want my page to exceed 1000px page content width. Since my background image is far wider than that, I’m asking this question here.
I hope some of you CSS/JS guru’s could give this poor lad a hand! Thanks!
Let me rephrase my question: Is there a way to fix a background image only on the x axis, so the image would move on y axis and stay put on the x axis?
So the background image would not move when you scroll a website horizontally, but would move if you scroll vertically.
Thank you very much for commenting!
Cheers,
Cybernws
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘CSS’ is closed to new topics and replies.