Forum Moderators: open
If you put your anchor very much on the right side, it will scroll horizontally as well. You can center the page the way you want, if you set the anchor at the correct position.
Jocelyn
scrollTo/scrollBy/scroll. Not sure if you can assign a percentage...
No, these JavaScript methods only take pixels for their arguments. scroll() is deprecated in favor of the two newer methods:
window.scrollTo(x,y)
x and y are the exact coordinates of the top right corner of the window after the scroll is executed.
window.scrollBy(dx,dy)
dx and dy are the number of pixels to scroll in each dimension