Answer the question
In order to leave comments, you need to log in
How to display a fixed site on mobile in full size?
Good afternoon everyone! This topic has been raised more than once, but I still have difficulties in resolving this issue. The thing is that you need to display a site with a fixed markup on a mobile phone in full size, i.e. so that it fits completely on the screen of any device, and then the user can enlarge it.
Taking into account the advice that I read here, I write in head :
<meta content='True' name='HandheldFriendly' />
<meta name="viewport" content="width=device-width, minimum-scale=1.0"/>
Answer the question
In order to leave comments, you need to log in
Set content="width=website width" , remove scale and add in css:
@-ms-viewport { width: ширина сайта; }
@-webkit-viewport { width: ширина сайта; }
@-moz-viewport { width: ширина сайта; }
@-o-viewport { width: ширина сайта; }
@viewport { width: ширина сайта; }
for a fixed layout it is necessary like this (you set your content width)<meta name="viewport" content='width=1200' />
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question