无法弄清楚发生了什么,我知道它与 div 相关,但无法完全弄清楚我哪里出错了。有人可以快速查看并告诉我我哪里出错了,或者更好的是,如何解决它?
它是页面底部的蓝线。我已经尝试了我所知道的一切(现在已经不多了)。感谢您的任何建议!
网站: http ://www.cityplaceselfstorage.com
-杰森
无法弄清楚发生了什么,我知道它与 div 相关,但无法完全弄清楚我哪里出错了。有人可以快速查看并告诉我我哪里出错了,或者更好的是,如何解决它?
它是页面底部的蓝线。我已经尝试了我所知道的一切(现在已经不多了)。感谢您的任何建议!
网站: http ://www.cityplaceselfstorage.com
-杰森
将 height 属性更改#templatemo_middle为 auto。目前高度指定为 347px。
更新以下规则:
#templatemo_middle {
    background: url("images/templatemo_content.jpg") no-repeat scroll left bottom transparent;
    clear: both;
    color: #F6F6F6;
    height: 305px;
    margin-bottom: 40px;
    width: 960px;
}
更改高度自动将错位此 div 的背景的世界地图图像。
你必须做一些 CSS 代码的安排并添加额外的 div
第一步: 将 .templatemo_middle 的 CSS 更改为以下
.templatemo_middle{
    clear: both;
    width: 960px;
    height: auto;
    color: #f6f6f6;
    margin-bottom: 40px;
/** remove background image from here **/
}
/**add new class which will be used for new div */
.new_class{
     background: url(/images/templatemo_content.jpg) no-repeat scroll left top transparent;
}
第二步: .v_divider 中的内容应该被包含在另一个 div 中,并且可以分配背景
<div class="col_w540 float_l v_divider">
    <div class='new_class'>
        ....here goes content....
      .....
    </div><!-- end the new div -->
</div><!-- end of div.v_divider -->
保存并运行