我有4个盒子装在一个主盒子里。前两个框最初位于同一行。不知何故,某些东西可能已被删除,现在方框2(我在下面的代码中将其标记为“myissue”)被推下,方框3和4仍然很好,只需向下推进页面以允许方框2的空间。
方框1是“幻灯片”,很好 方框2是“myissue”,应位于“幻灯片放映”的右侧
方框3是被推下的“浏览箱” 方框4是“foo-wrap”,被推倒了
页面很好,看起来页面在幻灯片和myissue之间看到了一个br标签。
<div id="homepage">
<div id="slideshow-wrap" class="left">
<script>
(function($) {
$(document).ready(function(){
$('#slideshow').vslide({
speed: 5000
});
});
})(jQuery);
</script>
<div id="slideshow">
<a href="http://s.htm" alt="" class="slide" style="display: none;"></a>
<a href="http://s.htm"><img src="/.jpg" alt="" class="slide" style="display: none;"> </a>
<a href="http://s.htm"><img src="/.jpg" alt="" class="slide currentPic" style="display: block;"></a>
<a href="https://s.asp?"><img src="/.jpg" alt="" class="slide" style="display: none;"></a>
<a href="http://s.htm"><img src="/.jpg" alt="" class="slide" style="display: none;"></a>
<div id="btns_wrap">
<a class="back_btn" href="#"><</a><!--LEFT ARROW-->
<div id="btns">
<a class="" href="#">1</a>
<a href="#" class="">2</a>
<a href="#" class="selected">3</a>
<a href="#" class="">4</a>
<a href="#" class="">5</a>
</div>
<a class="forward_btn" href="#">></a><!--RIGHT ARROW-->
</div>
</div> <!-- #slideshow -->
<div id="myissue" class="left">
<div id="myissue-title">
Div with issue
</div>
<div id="myissue-box">
<div class="myissue-entry">abc.</div>
<div class="myissue-entry"><br></div>
<div class="myissue-entry">123.</div>
<div class="myissue-entry"><br></div>
</div>
</div>
<div class="clear">
</div>
<div id="browse-box">
<div id="browse-box-title">Browse Stuff</div>
<div class="b-box b1 transition left">
<a href="http://s.htm"><img src="/.jpg" alt="foo"></a>
</div>
<div class="b-box b2 left">
<a class="b-box-link transition" href="http://.htm">
<div class="b-box-link-top">
<div class="left">
foo & bar
</div>
<div class="right">
<img src="/.png" alt="Arrow">
</div>
<div class="clear">
</div>
</div>
<div class="b-box-link-bottom">
Hello World!
</div>
</a>
</div>
<div class="b-box b3 left">
<a class="b-box-link transition" href="http://.htm">
<div class="b-box-link-top">
<div class="left">
Things
</div>
<div class="right">
<img src="/.png" alt="Arrow">
</div>
<div class="clear">
</div>
</div>
<div class="b-box-link-bottom">
More things!
</div>
</a>
</div>
<div class="clear">
</div>
<div class="b-box b4 left">
<a class="b-box-link transition" href="http://.htm">
<div class="b-box-link-top">
<div class="left">
Foo
</div>
<div class="right">
<img src="/.png" alt="Arrow">
</div>
<div class="clear">
</div>
</div>
<div class="b-box-link-bottom">
Hello!
</div>
</a>
</div>
<div class="b-box b5 left">
<a class="b-box-link transition" href="http://.htm">
<div class="b-box-link-top">
<div class="left">
Hello
</div>
<div class="right">
<img src="/.png" alt="Arrow">
</div>
<div class="clear">
</div>
</div>
<div class="b-box-link-bottom">
Hello!
</div>
</a>
</div>
<div class="b-box b6 transition left">
<a href="/.asp"><img src="/.jpg" alt="abc"></a>
</div>
<div class="clear">
</div>
</div>
<script type="text/javascript">
</script>
<div id="foo-wrap">
<div id="foo-title">Foo</div>
<div id="fooslider"> </div>
</div>
</div>
</div>
答案 0 :(得分:0)
上面有一个丢失的结束div。