[英]Mobile Safari width issue
I have this weird issue on mobile safari (tested on iPad and iPhones), the body and some divs are cut off in the middle and I can do nothing about it. 我在移动浏览器(在iPad和iPhone上进行了测试)上遇到了这个奇怪的问题,身体和某些div在中间被切断,我对此无能为力。 It works fine on desktop, but not on mobile safari.
它可以在台式机上正常运行,但不能在移动设备上使用。 Here is a link: http:pinsupreme.com and a screenshot from iphone:
这是一个链接: http:pinsupreme.com和iPhone的屏幕截图:
尝试将其作为视口:
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
我可以通过将meta视口设置为width = 1200来修复它:
<meta name="viewport" content="width=1200" />
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.