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.
我正在开发一个需要在 Windows Mobile 设备上很好地显示的网站。出于某种原因,<div>页面上的标准总是向外滚动以查看整个页面,尽管内容位于左上角。有没有办法让屏幕自动缩放到页面的特定部分?
<div>
您是否尝试过设置 div 元素的宽度和高度属性?就像是: <div style="width:250px; height: 250px;">Content</div>
<div style="width:250px; height: 250px;">Content</div>
PS:IMO 响应式设计将是最佳选择。