场景:网页出现横向滚动条,并且右边出现空白.
解决办法:可在网页中插入以下css样式,查看网页元素布局结构
* { background: #000 !important; color: #0f0 !important; outline: solid #f00 1px !important; }结论: 一定是某个元素撑开了页面,找到并纠正即可.
* { background: #000 !important; color: #0f0 !important; outline: solid #f00 1px !important; }结论: 一定是某个元素撑开了页面,找到并纠正即可.