Lots of unexpected space appears under the content

て烟熏妆下的殇ゞ 提交于 2019-12-12 03:08:51

问题


I just noticed that on my website I have lots of unexpected space, and I don't know where it is coming from.

Here is my web: http://freshbeer.lv/new/latvian/index.php

As I am unsure where problem comes from I can't post code (if I post all code it would be to damn long)

So if someone can suggest are that's causing a problem, I'll post code here for you.


回答1:


Remove the height:1511px from style.css line 287

See below image




回答2:


This is creating pretty much space from your CSS file (style.css):

#slideshow-right {
    height: 1511px 
}

It's working fine if you simply remove the height attribute from that CSS rule.




回答3:


here is the issue, it was a TYPO only 1 ruined this

    #slideshow-right {
    height: 1511px 
}

it was supposed to be 151px only ; :)

one suggestion use Firebug to such issue they detect problems easily.

hope this will help you in future also.

in-case you don't know : what is firebug and how to use this



来源:https://stackoverflow.com/questions/9545167/lots-of-unexpected-space-appears-under-the-content

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!