Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我目前正在为网站开发移动样式表,但遇到了一个我无法解释的奇怪问题:
即使我的样式表中不再有“宽度”定义,Android 浏览器也会在右侧留下大量空白空间,从而导致出现滚动条。
我不知道是什么原因造成的,因为没有元素并且宽度没有明确设置为任何东西。
您是否已将元标记添加到您的<head>?
<head>
<meta name="viewport" content="width=device-width">