Posts are falling outside div
-
I have been having a problem with my blog posts.
On my page of posts, the first post is within a div that applies important styles. All proceeding posts are outside this div. Within the template itself, it shows what I believe are the posts being within this div. However, for some reason the following ones are showing up outside of it.
Here is what the code looks like, let me know if more information is required:
———————-
<div id="content" class="narrowcolumn"> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <h7><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h7> <br /><small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small> <div class="entry"> <?php the_content('Read the rest of this entry »'); ?> </div> <p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p> </div> <?php wp_link_pages();?> </div> <!-- end the post div--> <?php endwhile; ?> <?php else : ?> <h2 class="center">Not Found</h2> <p class="center">Sorry, but you are looking for something that isn't here.</p> <?php include (TEMPLATEPATH . "/searchform.php"); ?> <div class="navigation"><?php posts_nav_link();?></div> <?php endif; ?> </div> <!-- end content div-->Thank you for any assistance.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Posts are falling outside div’ is closed to new replies.