Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome / FF4 Bug -- Page loads scrolled halfway down

Check out: http://test.pocarr.com/coaching-backing/

In Chrome and FF4, the page loads scrolled halfway down the page. I am completely stumped about what could be causing this. Any ideas?

EDIT: I disabled javascript in my browser, and it still jumps down.

like image 938
christina Avatar asked Jul 19 '11 19:07

christina


1 Answers

This is caused by autofocus attribute on input field. When you set focus (manually or automatically) page scrolls to that element.

like image 180
serg Avatar answered Sep 20 '22 03:09

serg



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!