Answer the question
In order to leave comments, you need to log in
The site is displayed incorrectly within the borders of the screen on the ipad
I've been struggling for a day now and I can't figure it out. The site is laid out with a fixed width of 1024. But on the ipad, if you rotate the screen, the site does not change the width across the screen, but becomes enlarged. and such garbage occurs only if the height of the site is less than the height of the screen. if the height is greater then the site correctly changes the width across the screen. what is the problem? maybe someone has already encountered. Google hasn't returned any results...
Answer the question
In order to leave comments, you need to log in
Try adding a meta tag:
<meta name="viewport" content="width=device-width, initial-scale=1">
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question