Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

thecritix

macrumors 6502
Original poster
Dec 11, 2006
284
0
West London, England
Hi Guys,

So I've been thrown in at the deepend in my new job a bit, I'm redesigning the blog.. CSS.. arghh!

http://blog.lombok.co.uk/

I want to bring the title where it says 'Seek retreat in Lombok's cool sheets' down closer to the article but there is a big gap.

Pardon the large amounts of code, but does anyone have any ideas what is wrong here that is causing the spacing issue?

Thanks

Nick

PS If anyone has any recommendations for how to do learn this kinda thing then do post these also!
<?php get_header(); ?>

<div id="content" class="narrowcolumn">

<?php if (have_posts()) : ?>

<?php while (have_posts()) : the_post(); ?>

<br><br><br><br> <h3 id="post-<?php the_ID(); ?>" <?php post_class(); ?>><a href="<?php echo get_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"> <?php the_title(); ?></a> <?php edit_post_link('Edit',' | ',''); ?></h3>
<div class="postmetadata">
<span class="date">Posted on <?php the_time('F jS, Y') ?></span>
<span class="author">By <a href="<?php the_author_url(); ?>"><?php the_author(); ?></a>,</span>
<span class="comment"> <?php comments_popup_link('Comment Here »','1 Comment »','% Comments »'); ?></span>
</div>
<div class="entry">
<?php the_content('Read the rest of this entry »'); ?>
</div>
<div class="postmetadata">
<span class="category">Filed under: <?php the_category(',', '' ); ?></span>
<span class="tag"><?php the_tags('Tags: ', ', ', ''); ?></span>
</div>


<?php endwhile; ?>

<h3 class="center">Not Found</h3>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>

<?php endif; ?>

</div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>
 
Note one, use the code tags for post markup here, like the PHP in this case. It'll color code the text and also take up less space. The quote tag isn't for code.

The issue is from all of those br tags you have right before the h3 tag. Get rid of them and use CSS to create the desired spacing.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.