首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > CSS >

wordpress的友情链接在底部怎么横排

2012-05-13 
wordpress的友情链接在底部如何横排?footer.php里的代码是PHP code?php if (is_home()) { ?div idfoo

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; }

热点排行