blog page showing half way up the header

  • Unknown's avatar

    Hi,

    I have made my own theme so it has the same look/feel as my website but have come across a problem….on the main block page (Posh Kitty Blog) the page shows below the header etc as it should. but when you click into the post to read more then the page is half way up the header and i cant figure out why?

    Everything befoe <!– Centre from WordPress –> and after <!– EOF centre from wordpress –> on the single.php & page.php is the same as index.php but still it wont show correctly

    here is my code for single php

    <!-- Header -->
    <?php get_header(); ?>

    <!-- EOF header from OSC -->

    <!-- BOF BODY -->
    <table border="0" width="100%" cellspacing="0" cellpadding="0">
    <tr>
    <!-- <td class="colleft" width="200" valign="top"><table border="0" width="200" cellspacing="0" cellpadding="0"> -->
    <!-- left_navigation //-->

    <!-- left_navigation_eof //-->
    <!-- </table></td> -->
    <!-- body_text //-->

    <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">
    <tr>
    <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
    <tr>
    <td class="pageHeading">Welcome to the Posh Kitty's Gifts & Accessories Blog</td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
    <tr>
    </tr>
    <tr>
    <td align="center" valign="middle">

    <!-- Centre from WordPress -->
    <div id="content">

    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <div class="post" id="post-<?php the_ID(); ?>">

    <div class="navigation">
    <div class="alignleft"><?php previous_post_link('« %link') ?></div>
    <div class="alignright"><?php next_post_link('%link »') ?></div>
    </div>
    <div id="category"> </div>
    <div class="post" id="post-<?php the_ID(); ?>">
    <div id="date">

    </div>
    <div class="title"><h1>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></h1></div>
    <div id="author_post"><?php the_author() ?></div>

    <div class="entrytext">
    <?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?>

    <!-- AddThis Bookmark Button BEGIN -->
    <img src="<?php bloginfo('template_url');?>/images/bookmark.jpg" />
    <script type="text/javascript">var addthis_pub = 'genkied';</script><script type="text/javascript" src="http://s9.addthis.com/js/widget.php?v=10"></script>
    <!-- AddThis Bookmark Button END -->

    <?php link_pages('<p>Pages: ', '</p>', 'number'); ?>

    <p class="postmetadata alt">
    <!-- AddThis Bookmark Button BEGIN --><!-- AddThis Bookmark Button END -->

    <small>
    This entry was posted

    on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
    and is filed under <?php the_category(', ') ?>.
    You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed.

    <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    // Both Comments and Pings are open ?>
    You can leave a response, or " rel="trackback">trackback from your own site.

    <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    // Only Pings are Open ?>
    Responses are currently closed, but you can " rel="trackback">trackback from your own site.

    <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    // Comments are open, Pings are not ?>
    You can skip to the end and leave a response. Pinging is currently not allowed.

    <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    // Neither Comments, nor Pings are open ?>
    Both comments and pings are currently closed.

    <?php } edit_post_link('Edit this entry.','',''); ?>
    </small> </p>

    </div>
    </div>

    <?php comments_template(); ?>

    <?php endwhile; else: ?>

    <p>Sorry, no posts matched your criteria.</p>

    <?php endif; ?>

    </div>

    <!-- EOF centre from wordpress -->
    </td>
    </tr>

    </table></td>
    </tr>
    </table></td>

    <!-- body_text_eof //-->

    <td class="colright" width="200" valign="top"><table border="0" width="200" cellspacing="0" cellpadding="2">
    <!-- right_navigation //-->
    <?php if ( !function_exists('dynamic_sidebar')
    || !dynamic_sidebar() ) : ?>
    <?php endif; ?>
    <?php // get_sidebar(); ?>
    <!-- right_navigation_eof //-->
    </table></td>
    </tr>
    </table>

    <!-- FOOTER -->
    <?php get_footer(); ?>
    <!-- EOF FOOTER -->

    Any help or advise would be appreciated.
    thanks

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    The blog you specified at http://www.poshkitty.co.uk does not appear to be hosted at WordPress.com.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.

  • The topic ‘blog page showing half way up the header’ is closed to new replies.