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.
我有一个带有一些媒体查询的布局,它可以工作并且看起来不错,除了在纵向模式下的 ipad 上,它将有一个水平滚动条和大量的空白空间。我有一个容器,我尝试了 100% 和 750px 的宽度,但它仍然存在。
无论如何我可以指定页面的最大宽度以及将被丢弃的任何内容吗?
try to add this to your css:
max-width:750px; width:100%;