我刚刚注意到,在我的一个网站上,您可以水平滚动,并且在内容右侧实际上是空白区域。不知道这是从哪里来的。我尝试添加以下CSS,以突出显示引起问题的元素,但没有:
* {
background: black !important;
}
* * {
background: pink !important;
}
* * * {
background: red !important;
}
* * * * {
background: blue !important;
}
* * * * * {
background: green !important;
}
* * * * * * {
background: grey !important;
}
* * * * * * * {
background: brown !important;
}
* * * * * * * * {
background: beige !important;
}
* * * * * * * * * {
background: black !important;
}
* * * * * * * * * * {
background: pink !important;
}
* * * * * * * * * * * {
background: red !important;
}
* * * * * * * * * * * * {
background: blue !important;
}
* * * * * * * * * * * * * {
background: green !important;
}
* * * * * * * * * * * * * * {
background: grey !important;
}
* * * * * * * * * * * * * * * {
background: brown !important;
}
* * * * * * * * * * * * * * * * {
background: beige !important;
}
* * * * * * * * * * * * * * * * * {
background: lightgreen !important;
}
* * * * * * * * * * * * * * * * * * {
background: lightcoral !important;
}
* * * * * * * * * * * * * * * * * * * {
background: yellow !important;
}
* * * * * * * * * * * * * * * * * * * * {
background: purple !important;
}
* * * * * * * * * * * * * * * * * * * * * {
background: rebeccapurple !important;
}
* * * * * * * * * * * * * * * * * * * * * * {
background: sandybrown !important;
}
* * * * * * * * * * * * * * * * * * * * * * * {
background: saddlebrown !important;
}
* * * * * * * * * * * * * * * * * * * * * * * * {
background: navajowhite !important;
}
* * * * * * * * * * * * * * * * * * * * * * * * * {
background: orange !important;
}
* * * * * * * * * * * * * * * * * * * * * * * * * * {
background: orangered !important;
}
* * * * * * * * * * * * * * * * * * * * * * * * * * * {
background: greenyellow !important;
}
您可以看到问题here。
我不知道该如何调试。
任何想法表示赞赏。