Linux 软件免费装
Banner图

Remove White Space

开发者 husobj
更新时间 2012年7月10日 14:23
捐献地址: 去捐款
PHP版本: 2.8 及以上
WordPress版本: 3.4.1

标签

lists ie6 wp_list_pages wp_list_categories whitespace white space

下载

1.0 1.0.1

详情介绍:

This function removes whitespace from the list items outputted by wp_list_pages and wp_list_categories. This white space can cause layout issues in IE6 and some other browsers such as gaps between each list item even when there is no margin or padding applied. Simply call wp_list_pages or wp_list_categories as usual: <?php wp_list_pages(); ?> To ensure there is no trailing white space around the first and last items, you should remove any white space between you <ul> tags and the PHP function: <ul><?php wp_list_pages(); ?></ul>

更新日志:

1.0.1 1.0