This simple little WordPress plugin removes white space from the wp_list_pages and wp_list_categories functions.
This white space can cause layout issues in IE6 and some other browsers so if you’re having problems with lists not displaying correctly in IE6, this plugin may help to fix it.
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>
Feedback and Support
Please leave comments with feedback below.
If you require support, it is best to post it in the WordPress.org Forum.