Viewing 3 replies - 1 through 3 (of 3 total)
  • You’ve got a missing </div>

    According to firefox it’s the end of this one <div id="wrapper">

    <br class="clear"> is also not closed

    (Firefox / View source + HTML validator plugin)

    Thread Starter adeking

    (@adeking)

    Hi,

    Thanks for your reply. I was already aware that I had a missing div and this makes no difference. Also the closing of br makes no different either. The code for page.php is below, it would be greatif someone could have a quick look over to see if it is missing anything.

    <?php get_header(); ?>
      <div id="main-c">
        <div id="main">
          <div id="bigger">
            <div class="bar-head"></div>
            <a id="go-content"></a>
          <br />
    	   <h2 class="pagetitle"><?php the_title(); ?></h2>
     <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    		<div class="entry" id="post-<?php the_ID(); ?>">
    
    				<?php the_content('<p class="serif">Read the rest of this page &raquo;</p>'); ?>
    
    				<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
    
    		</div>
    				<?php comments_template(); ?>
    
    	  <?php endwhile; endif; ?>
    	 <div style="margin:15px"><?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?></div>
    </div>
    
    <?php get_sidebar(); ?><?php get_footer(); ?>
    </div>

    Thanks

    To be honest it’s a bit difficult without comparing it with the original. My guess is that it’s the markup that’s being altered as anything php would have delivered nasty error messages.

    Therefore I would be looking at the divs that have been added by the comments are closed code e.g for the p class=nocomments, which contains comments are closed. But I couldn’t see anything there.

    Suggest you either start again from scratch or better still remove one bit of code at a time until things change one way or another.

    Sorry couldn’t help

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Messed up navigation on additional pages’ is closed to new replies.