Artyom Sosonko
Artyom Sosonko

Reputation: 59

How to make a menu for the mobile site opens in full screen?

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

Answers (1)

user5895097
user5895097

Reputation:

Add the following to your CSS

body{
margin:0px;
}

I hope it will fix your issue.

Upvotes: 1

Related Questions