Broken Kode Discussion Forums

A place to talk about the Rin and Manji themes

You are not logged in.

#1 18-04-2006 09:41:11

neild
New member
Registered: 17-04-2006
Posts: 5

Validate error - Sidebar

Hi...if anyone read the previous post from me regarding the single page error you will notice that i managed to solve this using the "wc3 validate" site. Now i noticed that there were several errors, mostly having to do with the bullets on the sidebar which i got rid of. The problem is i can't get rid of the first one and still get the vaildate error as listed below......

Error Line 92, column 19: document type does not allow element "li" here; missing one of "ul", "ol", "menu", "dir" start-tag .
<li class="pagenav"><h2>Pages</h2><ul><li class="page_item"><a href="http://ligh


Not sure where to look for this one. Any ideas?

The relevant code in the sidebar.php looks like this
<?php wp_list_pages('title_li=<h2>' .__('Pages') . '</h2>' ); ?>



Please visit www.lightscape-images.com/wordpress to see the error. Thanks for looking.
Best wishes Neil

Offline

 

#2 18-04-2006 11:14:23

khaled
Administrator
From: London, UK
Registered: 25-03-2005
Posts: 80
Website

Re: Validate error - Sidebar

Yeah neild, I know I've not worked out a solution for that prob yet, but I'm actually going to get working on the whole thing in due course once I've finished a few of the projects on my plate.

I'l be checking the forums to see what I can pick up from bug fixes people have posted etc.

Offline

 

#3 18-04-2006 22:49:11

neild
New member
Registered: 17-04-2006
Posts: 5

Re: Validate error - Sidebar

Thanks Khaled, i appreciate your help! Best wishes - Neil

Offline

 

#4 19-04-2006 08:53:10

neild
New member
Registered: 17-04-2006
Posts: 5

Re: Validate error - Sidebar

Resolved: I found it out myself. It was missing the <ul> and </ul> part.

The code now looks like:
<ul>
<?php wp_list_pages('title_li=<h2>' .__('Pages') . '</h2>' ); ?>
</ul>

and the page validates smile Thanks and best wishes Neil

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson