I'm having a little trouble with my blog, and I'm hoping someone can help me figure out what I'm doing wrong. I'm having a problem with the "meta" section, which is where the title, category, and date are.
As you can see here each entry is stepped down (from the previous entry) the same height as the "meta" div. If I eliminate the "meta" div, the problem goes away, and all the entries run straight across the top, like they are supposed to. If I have my meta information underneath the posts, it works fine as well, but I'd really like to have that stuff at the top.
Anyone wanna help out a n00b and let him know what he's doing wrong? Thanks so much!
index.php
CSS
As you can see here each entry is stepped down (from the previous entry) the same height as the "meta" div. If I eliminate the "meta" div, the problem goes away, and all the entries run straight across the top, like they are supposed to. If I have my meta information underneath the posts, it works fine as well, but I'd really like to have that stuff at the top.
Anyone wanna help out a n00b and let him know what he's doing wrong? Thanks so much!
index.php
Code:
<div id="gallery">
<div id="photos">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
[B]<div class="meta">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
posted: <?php the_time('F jS, Y') ?><br>
filed in: <?php the_category(', ') ?><br>
<?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>
</div>[/B]
<span class="photo">
<div class="image">
<?php the_content('Read the rest of this entry »'); ?>
</div>
</span>
<?php endwhile; ?>
</div>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('Older Photos » ') ?></div>
<div class="alignright"><?php previous_posts_link('« Newer Photos ') ?></div>
</div>
</div>
CSS
Code:
body {color: #fff; background: #000; font-size: 10px; font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif; text-align: left;}
a {color: #ebebeb; text-decoration: none;}
a:hover {text-decoration: none; color: #666;}
#header {text-transform: uppercase; letter-spacing: 2px; margin: 50px 0 0 50px;}
#gallery {width: 10000px; margin: 0px 40px 0px 300px}
#single-image {width: 10000px; margin: 40px 40px 0px 50px;}
#photos {padding: 0px 200px 0 0;}
.photo {float: left; display: inline;}
.image {float: left; width: 450px; padding: 0px 200px 0 0;}
[B].meta {margin: 0px 0px 0px 0px; padding: 0 0 0 0px; line-height: 14px;}[/B]
h2 {font-size: 12px;}
.navigation {float: right; padding: 0px 10px 0 0;}
.pagenavigation {clear: both; margin: 40px 10px 0 40px;}