日期:2014-05-17  浏览次数:20710 次

wordpress的友情链接在底部如何横排?
footer.php里的代码是
PHP code
<?php if (is_home()) { ?>
<div id="footer_info">友情链接
        <ul><?php wp_list_bookmarks('title_li=&categorize=0&orderby=name&show_images=0'); ?></ul>
    </div>
    <?php } else {?>
       <?php } ?>


CSS里的是
CSS code
#footer{border-top:1px solid #ccc;margin-top:10px;padding-top:10px;overflow:hidden;}#footer_info{width:980px;margin:0 auto;margin-bottom:20px;overflow:auto;}#footer_info ul{float:left;margin:2px; }
 
这样 发现链接 并没有横排 加上个#footer_info li{list-style:none;float:left;} 也没有效果, 请问是什么问题呢


------解决方案--------------------
#footer_info li{list-style:none;float:left; width:***px; }