Sorry, I have no more time and coding is not my thing entirely, but I find it strange that your endwhile comes within the div. Here’s my index.
<?php get_header(); ?>
<div id="content">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2 class="posttitle"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="postmetadata">
<?php if( function_exists('the_tags') )
the_tags(__('Browse: '), ', ', '<br />'); ?>
<?php _e('Category:') ?> <?php the_category(', ') ?>
<?php edit_post_link(__('Edit'), ''); ?>
<div class="postentry">
<?php the_content(__('Continue reading'). " ‘" . the_title('', '', false) . "’ »"); ?>
</div>
<div class="postmetadata"><?php the_time('j F Y') ?> <!-- <?php _e('by') ?> <?php the_author() ?> --></div>
<?php comments_popup_link(__('Comment'), __('1 Comment'), __('% Comments')); ?>
</div>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link(__('« Previous Entries')) ?></div>
<div class="alignright"><?php previous_posts_link(__('Next Entries »')) ?></div>
</div>
<?php else : ?>
<div class="post">
<h2 class="posttitle"><?php _e('Not Found') ?></h2>
<div class="postentry"><p><?php _e('Sorry, no posts matched your criteria.'); ?></p></div>
</div>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
As you can see a lot more div
, no idea if that says anything.
Btw, if you change to default theme, does that change anything? If not, it’s not your theme, but it almost has to be.
Good luck and goodbye…
Roy