的jsfiddle(http://jsfiddle.net/BnJ7g/3/)
你的 “盒子” 和 “boxes2” 的div
,添加float:left
属性。
<div id="boxes" style="float:left;">
<div class="box">
<!--The post title-->
Ashley Lee <!--The post image-->
<a href="http://www.panduzee.com/wordpress/2012/04/15/fashion/"><img width="210" height="312" src="http://www.panduzee.com/wordpress/wp-content/uploads/2012/04/527802_2560693355446_1797426028_1635316_739143794_n-210x312.jpg" class="attachment-homepage-thumb wp-post-image" alt="" title="" /></a>
</div>
</div>
<div id="boxes2" style="float:left;">
<div class="box">
Richard Lu <!--The post image-->
<a href="http://www.panduzee.com/wordpress/2012/04/24/richard-lu/"><img width="210" height="312" src="http://www.panduzee.com/wordpress/wp-content/uploads/2012/04/527802_2560693355446_1797426028_1635316_739143794_n-210x312.jpg" class="attachment-homepage-thumb wp-post-image" alt="" title="" /></a>
</div>
</div>
如果您在[JS小提琴(http://jsfiddle.net),或类似的发布您的代码,我们可以看到在行动页面。并在那里玩,使其工作,并看到任何变化造成的影响。 – 2012-04-24 21:37:51