Meta tag "viewport" content = "width = device-width" doesn't work

The meta tag does not respond to the mobile (iphone) viewport, as it should.

I am assuming it is connected to a full width image at the top of the site. any help and suggestion on how i can solve this?

you can see the site at this address: http://alonashkenazy.co.il/

+3


source to share


1 answer


This is not the case, because using multiple meta tags with the same name is valid HTML:

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

      

But we don't know how search engines and other readers interpret them. Either the two meta tags will be merged or one of them will be ignored / overwritten. To avoid potential problems, I would recommend using one meta tag:



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

      

PS For a more mobile use of the site, get more information from HTML5 Mobile Boilerplate

+3


source







All Articles