Clearing the gap between post title and post body

  • Unknown's avatar

    I’m trying to finish up the main page template for my blog, but I’m having trouble with the space that shows up between the post title and entry div. I want to get rid of it and have the post butt up against the meta data, but it’s just not happening. Here’s everything I’ve tried:
    –negative margins (FF works but not IE)
    –clearing all spaces in coding
    –used span and div tags exclusively

    That’s just off the top of my head.
    Here’s the site if anyone can offer any advice: http://www.dcsfootball.net

    <div class="post" id="post-<?php the_ID(); ?>">
    
         <span style="font-size:14px; margin:0px;"><b><a href="<?php the_permalink() ?>"
         rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php
         the_title(); ?></a></span><br />
    
         <span style="font-size:12px;"><?php the_time('F jS,
         Y') ?> | <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>
         <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments
         »'); ?></b></span>
    
         <span class="entry" style="font-size:11px; margin:0px;"><?php the_content('Read the
         rest of this entry &raquo;'); ?></span>
    
    </div>
  • Unknown's avatar

    That’s a self-hosted blog. You can get help at http://wordpress.org/support

  • Unknown's avatar
  • The topic ‘Clearing the gap between post title and post body’ is closed to new replies.