i have this annoying problem with my site where, when you click on a dummy link or checkbox at the bottom of the pages, the scrollbar snaps back to the top. i have to scroll down again, to keep clicking.
+1
A:
This sounds like you are starting with a link to the top of the page (href="#"
). Don't do that.
Follow the principles of pragmatic enhancement instead.
David Dorward
2009-10-31 09:26:49
problem is that this happens with all checkboxes as well.
gpo
2009-10-31 09:38:32
what should i replace href="#" with ?
gpo
2009-10-31 09:43:56
There is no reason this problem should occur with regular checkboxes. You'll have to show example pages for that. The article I linked to explains what to replace # with.
David Dorward
2009-10-31 09:53:58