Reputation: 59
Why in chrome, safari and some other mobile browsers fixed horizontal menu ( with position: fixed; top: 0 ; left: 0 ; ) is not in the top of a mobile screen?
With the active use of the site , primarily scrolling menu moves a few pixels from the top , sometimes little more than a few .
With what it can be connected and how to fix it? Thank you!
Upvotes: 0
Views: 43
Reputation:
Add the following to your CSS
body{
margin:0px;
}
I hope it will fix your issue.
Upvotes: 1