Search your css file (style.css) for li declarations, and make sure they include this line: list-style:none; If some don’t, add it in, assuming you never want bullets.
Thanks for your help. I inserted those things into the style.css as suggested but the problem is still there. I also tried going back to the original template as downloaded and that generates the same problem and the validation message
Error Line 181, column 21: document type does not allow element “li” here; missing one of “ul”, “ol”, “menu”, “dir” start-tag .
<li class=”pagenav”><h2>Pages</h2>
Perhaps it’s a problem with the template. I can’t see where the li class pagenav is coming from – it doesn’t seem to be in any of the template files I can find.
I thought I’d look around for an alternative theme that might fix this. I found this one, Fastrack – and it has the same problem, a list bullet on the Pages line in the sidebar. Is this because I am using Safari and Firefox? It’s an entirely different theme.
http://managedtasks.com/wpthemes/blog/index.php?wptheme=FastTrack
I was having the same problem with the FastTrack theme and traced it to the way its sidebar.php outputs the heading and list for pages:
1. Open sidebar.php
2. Find:
<?php wp_list_pages('title_li=<h2>' . __('Pages') . '</h2>' ); ?>
3. Replace with
<h2>Pages</h2>
<ul><?php wp_list_pages('title_li=' ); ?></ul>
A couple of months overdue, but hope this helps you out.
Thanks for the info. In fact I moved to the K2 theme which is a lot easier for me to handle (though I’m sure I’ve broken it in no end of ways).
Wow, I was having exactly the same problem on my site, and that fix mejane posted did the trick. Thanks!!!