0

在这个网页上,我构建了一个滚动条,似乎出现在#content DIV 中,我似乎不知道为什么。

页面链接:http ://dev.textcube.ch/oneandonly/index.php/hunde/nuri/(用户名:textcube/密码:textcube3600)

#content 的 CSS 没有任何可能导致此问题的设置高度,也没有溢出:滚动;。

#content {
font-family: Arial, Helvetica, sans-serif;
font-size: 100%;
width: 400px;
margin: 0px;
background: url(../images/content-bg.png) no-repeat;
margin-top: 10px;
margin-left: 100px;
float: left;
padding: 80px 50px 0px 50px;
}

关于造成这种情况的任何想法?理想情况下,我想知道如何删除此滚动条并使内容一直向下移动。

4

1 回答 1

1

这个 CSS 导致了它。由于内容长于270px滚动条出现。

<style type="text/css"> 
#blockStyle404MainArea9 {
  background-repeat:no-repeat;
  max-height: 270px;
  over-flow: auto;
  overflow-x: hidden;
  overflow-y: scroll;
} 
</style>
于 2012-10-15T20:56:20.797 回答