F
F
Fyodor2014-06-27 12:22:31
iPhone
Fyodor, 2014-06-27 12:22:31

Why does a website at 540 pixels look normal on a computer, but seems to be enlarged on a mobile device?

36a9bdd40fc04465aac3b274ec7fed33.PNG43bf41b5892d4de4b69ab156016bc799.png
on mobile, the width is also 540 pixels. looked at all sorts of viewport added, removed, there is no effect.
In the browser itself, I did not include any increases, zoom with my fingers does not work,
why is that?
link

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vitaly Kirenkov, 2014-06-27
@DeLaVega

Remove extra viewport:
And bring to mind:

<meta name="viewport" content="user-scalable=no" />

S
Sergey Melnikov, 2014-06-27
@mlnkv

<meta name="viewport" content="width=device-width, initial-scale=1">

R
rrd, 2014-07-03
@rrd

@media screen and (max-device-width: 540px) {
  body {
    -webkit-text-size-adjust: none;
  }
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question