2013-03-29 131 views
0

我有这个页面:不能垂直滚动

http://projects.kleelof.com/rr_chat_roulette/

这是一个非常简单的页面,但是,出于某种原因,当页面太高,垂直滚动条不来。

有人可以快速查看并告诉我我做错了什么吗?

我会后的CSS及以下相关的HTML:

CSS:

body 
{ 
    width: 100%; 
    background-color: #000000; 
    color: #ffffff; 
} 

#main_area 
{ 
    width: 1000px; 
    padding-top: 20px; 
    margin-left: auto; 
    margin-right: auto; 
} 

.bottom_text 
{ 
    font-family: 'Source Sans Pro', serif; 
} 

HTML:

<div id="main_area"> 
     <center> 
      <img src="images/header.png"/> 
      <br/><br/> 
      <div id="altContent" style="width:900px; background-color:#000000;"> 
       <h1>rickrose_chat_roulette</h1> 
       <p><a href="http://www.adobe.com/go/getflashplayer">Get Adobe Flash player</a></p> 
      </div> 
      <br/><br/> 
      <span class="bottom_text" style="font-size: 24px;">Chatroulette & 

Omegle Alternative for Hot Good Looking People</span> 
       <br/><br/> 
       <span class="bottom_text" style="font-size: 14px;"> 

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</span> 
     </center> 

    </div> 

照顾, 李

+3

sexchatroulette。大声笑 – btevfik

+0

这是这样的问题,其中jsFiddle是需要的大声笑 – dev

+0

btevfik - 是的,没有任何会计口味。我受到我客户的摆布。 vletech - 我对jsFiddle不熟悉,它对此有何帮助? –

回答

1

在回答你的问题,在你的主要CSS文件的第31行,你有html,body{overflow:hidden)如果你改变这个auto那么这将解决你的问题。

+0

我没有看到它。 CSS文件只有19行,并且没有分配给整个CSS中的溢出。 –

+0

NEvermind。我完全错过了主HTML中的那一点CSS。 –

+0

对不起,这是主页而不是CSS文件。 – dev