K
K
Konstantin Kovalenko2015-03-01 21:32:46
Google Chrome
Konstantin Kovalenko, 2015-03-01 21:32:46

Why is there a different display in mobile versions of chrome and firefox browsers?

When I opened the site in chrome on my phone, I was delighted and happy until I saw the site in firefox:
Chrome 03/01/15%2B-%2B3Firefox03/01/15%2B-%2B4
What could be the reason? I use

meta name="viewport" content="width=device-width, initial-scale=0.6"
In comparison, the firefox dev site displays fine:
Chrome 03/01/15%2B-%2B1Firefox03/01/15%2B-%2B2

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Tsymbal, 2015-03-01
@AlexanderTsymbal

it's the initial scale:
The Mozzilla dev site has this code:
And you have initial-scale=0.6.
I don’t know why you used this particular value, if it’s intentional, then you will have to make up your site for narrower widths. To get started, just set initial-scale=1.0 and also add maximum scale, minimum scale.

A
Artemy Malkov, 2015-12-11
@ndr334

In the styles for the mobile version, set css for body {min-width: 480px;} (for example) helps me.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question