It looks the same to me on the main page and the single post pages. Could you post a screenshot of what you’re talking about, or maybe just be more specific about your setup or what exactly you are seeing?
Thanks for taking a look Otto.
I have posted 2 screenshots – sorry about the quality – only have access to Paint at the moment! The first is of the front page as I see it (in Firefox on a PC but the same in IE 6 & 7 on the same PC). The second is of a single post. The red box doesn’t appear – but the white space within that box is what I don’t want!
I am using WordPress 2. The pages validate to xhtml 1 transitional. I’ve tried disabling plugins (that always seems to be the first suggestion people make!) And I have had a look at the code for my single post. I can’t see anything that would cause this but I will probably have missed something.
Right – I will try to include my single post code but usually the coding goes wrong for me!:
<?php get_header(); ?>
<div class="container" id="content_banner">
<h4> </h4>
<img class="left"
src="http://www.stjb.org.uk/images/bn_about.jpg"
alt="Banner" />
</div>
<div id="content_body">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h4><a href="<?php the_permalink() ?>" rel="bookmark"
title="Permanent Link to <?php the_title(); ?>">
<?php the_title(); ?></a></h4>
<?php the_content('Read the rest of this entry »'); ?>
<p class="small">Posted on: <?php the_time('j F Y') ?>
Category: <?php the_category(', ') ?> |
<?php edit_post_link(); ?>
</div>
<?php endwhile; ?>
<?php else : ?>
<?php endif; ?>
<?php get_footer(); ?>
I can’t find anything in my css that would cause it either.
Is that enough info now? I hope so. Sorry if it doesn’t post correctly…
Andy.
And yeah – I know I should probably have something in the ‘else’ section but I don’t! I did have the ‘sorry, no posts match your criteria’ thing but that didn’t make any difference!
Sorry Otto – it was within the CSS that I found the trouble.
Thanks again for taking a look.