WordPress.org

Forums

[resolved] Header at Bottom of page (1 post)

  1. WiiNet
    Member
    Posted 7 years ago #

    This should be fun. The header looks fine on the index page, but in all browsers when you click on Today's News, Categories or Archives the header is at the bottom of the page? The very bottom, below the copyright. I coped the code from my index page and it's still at the bottom. Thanks for any help.

    Here the code:

    <?php get_header(); ?>
    
    	<div id="content" class="narrowcolumn">
    
    		<?php if (have_posts()) : ?>
    
    		<?php while (have_posts()) : the_post(); ?>
    			<div class="archivep" id="post-<?php the_ID(); ?>">
    				<b><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></b>
    				<br />
    
            </div>
    
    		<?php endwhile; ?>
    
    		<div class="navigation">
    			<div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
    			<div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
    			<div class="clear"></div>
    		</div>
    
    	<?php else : ?>
    
    		<h2 class="center">Not Found</h2>
    		<?php include (TEMPLATEPATH . '/searchform.php'); ?>
    
    	<?php endif; ?>
    
    	</div>
    
    <?php get_sidebar(); ?>
    
    <?php get_footer(); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags