Forums

Problem with page.php (3 posts)

  1. nickelbert
    Member
    Posted 2 weeks ago #

    (In Firefox) The problem I'm having is when I view my pages the sidebar doesn't display properly or at all. On the home page it displays right. The body image that covers both the sidebar and the body of the site gets cut off on some of the pages as well on the far right side. The Navigation and the footer display properly though.

    ---------------------------------------------------------------------
    page.php

    <?php get_header(); ?>
    <div id="content">

    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>

    <div class="post">
    <h2><?php the_title(); ?></h2>
    </div>
    <div class="entry">
    <?php the_content('Read the rest of this page »'); ?>

    <?php wp_link_pages(array('before' => '<p>Pages: ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    </div>

    <?php comments_template(); ?>
    </div>

    <?php endwhile; ?>

    <div class="navigation">
    <span class="previous-entries"><?php previous_post_link('%link')?></span>
    <span class="next-entries"><?php next_post_link('%link')?></span>
    </div>

    <?php else : ?>

    <h2>Not Found</h2>
    <p>Sorry, but you are looking for something that isn't here.</p>

    <?php endif; ?>

    </div>
    <!--/content -->

    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

  2. nickelbert
    Member
    Posted 2 weeks ago #

    To see what I'm saying view http://nickhiebert.com

  3. songdogtech
    Member
    Posted 2 weeks ago #

    You've got some missing tags and other errors: Markup Validation of nickhiebert.com - W3C Markup Validator. Fix those and the Firefox display may fall into line by itself.

Reply

You must log in to post.

About this Topic