Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Differences in rendering mobile chrome and android native browser

When testing my desktop (not responsive) website on my smartphone, i noticed differences in rendering the site in chrome (34.01847.114) and in the native Android browser (4.3). In Chrome the page is rendered without zoom as i want. In the native browser the paged is zoomed in. I do not use any viewprt-tag. When i set the viewport tag to

<meta name="viewport" content="width=device-width">

chrome behaves like the native browser and zoomes.

So i do not want any zoom, i want the site to be rendered in full resolution.

like image 574
user1324258 Avatar asked May 08 '14 09:05

user1324258


1 Answers

To prevent zoom you shoyld use:

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

Hope it helps :)

like image 102
Hige Avatar answered Nov 04 '22 10:11

Hige