Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/78.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/loops/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html Can';我找不到我网站右边的额外空间是从哪里来的_Html_Css_Wordpress - Fatal编程技术网

Html Can';我找不到我网站右边的额外空间是从哪里来的

Html Can';我找不到我网站右边的额外空间是从哪里来的,html,css,wordpress,Html,Css,Wordpress,我刚刚注意到,在我的一个网站上,你可以水平滚动,而内容右侧的空白处。不知道这是从哪里来的。我尝试添加以下CSS,以突出显示导致问题的元素,但没有: * { background: black !important; } * * { background: pink !important; } * * * { background: red !important; } * * * * { background: blue !important; } * *

我刚刚注意到,在我的一个网站上,你可以水平滚动,而内容右侧的空白处。不知道这是从哪里来的。我尝试添加以下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;
}
你可以看到问题所在

我不知道如何调试这个


任何想法都值得赞赏。

您可以通过以下方法快速解决问题:

#wrapper, .container-inner {
    min-width: 320px;
    overflow: hidden;
}
html {
    max-width: 100%;
    overflow-x: hidden;
}

检查并让我知道。

下面的代码会导致额外的空间。 .col-3cm.main内部{padding left:340px;}

解决了这个问题:

#wrapper, .container-inner {
    min-width: 320px;
    overflow: hidden;
}
html {
    max-width: 100%;
    overflow-x: hidden;
}

你被要求在这里,在你的问题,而不是任何第三方网站张贴。我不知道是哪个部分造成的问题,所以我不能张贴一个最小的可复制的例子。如果我这样做了,我就不用在这里发帖了。那你就有两个问题了。当你的链接改变或完全消失时,你的问题就变得毫无用处了。这就是为什么这样的事情是不允许的。另外,请在这里添加有意义的代码和问题描述。不要只是链接到需要修复的站点——否则,一旦问题解决或者你链接到的站点无法访问,这个问题将对未来的访问者失去任何价值。发布一个能证明你的问题的帖子会帮助你得到更好的答案。有关更多信息,请参阅“谢谢!”!提示。。。。你的页面恰好有3.4k像素宽