Element div not allowed as child of element ul in this context

getting the following validation error:
"Element div not allowed as child of element ul in this context. (Suppressing further errors from this subtree.) "

for this bit of code:

<div class=“section_thumbnails group”>
<h3>Recent Posts</h3>
<ul>
<!-- LOOP START –>
<?php $the_query = new WP_Query( ‘showposts=3’ ); ?>
<?php while ($the_query -> have_posts()) : $the_query -> the_post(); ?>
<!-- THIS DISPLAYS THE POST THUMBNAIL, The array allows the image to has a custom size but is always kept proportional –>
<div class=“col span_1_of_3”>
<div class=“post-thumbnail”>
<li> <?php the_post_thumbnail( array(70,70) );?></li>
</div>
<div class=“blog-lists-title”>
<!-- THIS DISPLAYS THE POST TITLE AS A LINK TO THE MAIN POST –>
<li><a href=“<?php the_permalink() ?>”><?php the_title(); ?></a></li>

      &lt;!-- THIS DISPLAYS THE EXCERPT OF THE POST --&gt;
      &lt;p&gt;&lt;?php echo get_excerpt(); ?&gt;
      &lt;!-- READ MORE LINK --&gt;
  		&lt;a href="&lt;?php the_permalink() ?&gt;"&gt;More...&lt;/a&gt;&lt;/p&gt;
      &lt;/div&gt;
      &lt;/div&gt;
    &lt;?php endwhile;?&gt;
&lt;!-- LOOP FINNISH --&gt;
&lt;/ul&gt;
&lt;/div&gt;

Anyone know a fix for this? I have tried a few things but can’t get it to both display correctly and validate at the same time.

Hi there,

AFAIK, the only permitted child of a <ul> element is a <li> element. <li> elements can have block elements (such as a <div> element) as a child, but <ul> elements cannot.

If you wish for some help tidying up your code, please post the HTML generated by the PHP, as outlined in this post: http://www.sitepoint.com/forums/showthread.php?1041498-Proposed-Template-Sticky&p=5410283&viewfull=1#post5410283

You might also want to consult this thread.