Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/72.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
Jquery Can';不要在我的网站上向下滚动_Jquery_Html_Css_Jquery Plugins_Scroll - Fatal编程技术网

Jquery Can';不要在我的网站上向下滚动

Jquery Can';不要在我的网站上向下滚动,jquery,html,css,jquery-plugins,scroll,Jquery,Html,Css,Jquery Plugins,Scroll,所以我一直在这个网站上工作,觉得这个网站插件看起来不错() 现在的问题是我无法向下滚动页面。我试着在我能想到的每一个地方把我的页面高度设置为1360px,但它不起作用 有什么想法吗?溢出是隐藏的在你的身体上,将其更改为滚动 body { height: 1360px; width: 100%; margin: 0; padding: 0; overflow: scroll; } 您应该在bodycss属性中将overflow:hidden更改为overflow:scroll,正如其他

所以我一直在这个网站上工作,觉得这个网站插件看起来不错()

现在的问题是我无法向下滚动页面。我试着在我能想到的每一个地方把我的页面高度设置为1360px,但它不起作用


有什么想法吗?

溢出
隐藏的
在你的身体上,将其更改为
滚动

body {
 height: 1360px;
 width: 100%;
 margin: 0;
 padding: 0;
 overflow: scroll;
}

您应该在
body
css属性中将
overflow:hidden
更改为
overflow:scroll
,正如其他人所指出的,问题是body元素上的
overflow:hidden
。我建议改为
overflow:auto

看起来该特定样式不在外部样式表中-我还建议将其(以及
部分中的其他样式)移动到
style.css
文件中


此外,我要说的是,在
#wrapper
#mask
.item
上丢失内联宽度和高度声明。他们让我的页面奇怪地停了下来(我有一个相当大的屏幕)。

将溢出设置为隐藏会产生这种效果!将其更改为
auto
,或者仅删除溢出样式,因为
auto
是默认设置!最好将其设置为自动,以避免在没有溢出时出现滚动条。