0

I've placed this tag on my website:

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

And on Firefox and Chrome for Android the site looks like this:

While I'm expecting it to look like this:

What am I doing wrong?

I've also tried the solutions in this post, but nothing helped.

Community
  • 1
  • 1
Michael Litvin
  • 3,976
  • 1
  • 34
  • 40

1 Answers1

0

This tells the browser to render the page at the same width as the device's screen has pixels:

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

It sounds like you'd prefer to render at some other width, like maybe 800px:

<meta name="viewport" content="width=800, initial-scale=1.0" />
isherwood
  • 58,414
  • 16
  • 114
  • 157