Is there a way to fix a position on the x-axis only? So when a user scrolls up, the div tag will scroll up with it, but not side to side?
A:
Sounds like you need to use position:fixed and then set the the top position to a percentage and the and either the left or the right position to a fixed unit. You can contact me at odntuk[at]gmail.com for more help.
OD Ntuk
2010-01-12 15:14:12
A:
No, it's not possible with pure CSS. That kind of positioning fixes the element in the viewport. I'd suggest simply fixing the element to one of the sides of the viewport (i.e. top, bottom, left or right) so that it doesn't interfere with other content.
DisgruntledGoat
2010-01-12 15:19:52