I have created my own template and am able to list all the posts on the index page.

I want to be able to have some space after each post. Like a blank height of 5px. I created a class in css called blank5 => .blank5 {height:5px;} but it doesn't seem to work. I know I am missing something regarding the while loop. Not sure where to tell it to break the post.

My index.php :

<div id="theposts">
<?php while(have_posts()):the_post();?>
<h2> <a>"><?php the_title()?> </a> </h2>
<?php the_content(__('Continue Reading'));?>

<div class="blank5"> </div>
<?php endwhile;?>

Please help. Thanks in advance.