9

When using Android 4.1 on my Samsung Galaxy S3 and viewing my website, I'm trying to get the navigation menu on the left to stay where it is but it doesn't. Whenever I click on a link from the menu and refresh the page the page, it bounces halfway down the html page and the links fail to work. It works fine on a desktop browser.

Anyone know how to resolve this problem?

Hugo Gresse
  • 14,772
  • 8
  • 69
  • 103
user1924813
  • 355
  • 3
  • 12

1 Answers1

11

Woohoo, figured it out. Very simple actually. Just needed to add a value to top and left after setting position: fixed.

For example: position:fixed;top:0px;left:0px;

totymedli
  • 23,114
  • 18
  • 109
  • 143
user1924813
  • 355
  • 3
  • 12