无法在我的网站上向下滚动

时间:2022-12-05 23:14:09

So I've been working on this site http://developed-web.com/ and thought it'd look nice with this site plugin (link)

所以我一直在这个网站http://developed-web.com/上工作,并认为这个网站插件看起来不错(链接)

The problem now is that I can't scroll down through my page. I've tried setting my page height to 1360px at every single place that I can think of but it won't work.

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

Any ideas?

3 个解决方案

#1


5  

You should change overflow:hidden to overflow:scroll in your body css properties

您应该更改overflow:hidden to overflow:滚动您的body css属性

#2


2  

overflow is hidden on your body, change it to scroll

溢出隐藏在你的身体上,改变它滚动

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

#3


1  

As others have noted, the issue is overflow:hidden on the body element. I'd recommend changing it to overflow:auto instead.

正如其他人所指出的那样,问题是溢出:隐藏在身体元素上。我建议将其更改为溢出:auto。

Looks like that particular style isn't in an external style sheet - I'd also have to recommend moving it (and the others in your <head> section) to your style.css file.

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

Additionally, I'd say lose your inline width and height declarations on #wrapper, #mask, and .item. They made my page stop oddly (I have a pretty large screen).

另外,我会说在#wrapper,#mask和.item上丢失你的内联宽度和高度声明。他们让我的页面奇怪地停止了(我有一个非常大的屏幕)。

#1


5  

You should change overflow:hidden to overflow:scroll in your body css properties

您应该更改overflow:hidden to overflow:滚动您的body css属性

#2


2  

overflow is hidden on your body, change it to scroll

溢出隐藏在你的身体上,改变它滚动

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

#3


1  

As others have noted, the issue is overflow:hidden on the body element. I'd recommend changing it to overflow:auto instead.

正如其他人所指出的那样,问题是溢出:隐藏在身体元素上。我建议将其更改为溢出:auto。

Looks like that particular style isn't in an external style sheet - I'd also have to recommend moving it (and the others in your <head> section) to your style.css file.

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

Additionally, I'd say lose your inline width and height declarations on #wrapper, #mask, and .item. They made my page stop oddly (I have a pretty large screen).

另外,我会说在#wrapper,#mask和.item上丢失你的内联宽度和高度声明。他们让我的页面奇怪地停止了(我有一个非常大的屏幕)。