Single post sidebar at the bottom of the page in firefox
-
My single post page is all messed up in firefox, but it is fine in google chrome. The comments are showing up where the sidebar is supposed to be. I checked for any incomplete </div> marks but I couldn’t find any. The site is charliesheenfacts.com and the single page script is below. I put it in a table to straighten something else out, but took it out and it wasn’t the problem. Thank you. My theme is pagelines.
<table>
<?php get_header(); ?>
<div id=”columns”>
<div id=”centercol”>
<?php $urlHome = get_bloginfo(‘template_directory’); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class=”box post” id=”post-<?php the_ID(); ?>”>
<div class=”content”>
<div class=”comm_count”>” title=”View all posts in <?php the_title_attribute(); ?>” rel=”category tag”>
<?php comments_number(0, 1, ‘%’); ?>
</div>
<div class=”post-title”>
<h2>” rel=”title” title=”<?php the_title_attribute(); ?>”>
<?php the_title(); ?>
</h2>
</div>
<!–/post-title –>
<div class=”post-date”>On
<?php the_time(‘m.d.y’); ?>
| In
<?php the_category(‘, ‘) ?></div>
<!–/post-date –>
<?php $postimageurl = get_post_meta($post->ID, ‘post-img’, true); if ($postimageurl) { ?>
<div class=”pic”>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><img src=”<?php echo $postimageurl; ?>” alt=”<?php the_title_attribute(); ?>” /></div>
<?php } ?>
<!–/post-img –>
<div class=”blog-content”>
<div class=”post-excerpt”>
<?php the_content(‘<p class=”serif”>Read the rest of this entry »</p>’); ?>
</div>
<!–/post-excerpt –>
</div>
<div class=”clr”>
</div>
<!–/content –>
</div>
<!–/box –>
<div class=”clr”></div>
<div class=”box post”>
<div class=”content border”>
<div class=”pic fl”><?php echo get_avatar(get_the_author_email(), $size = ’80’, $default = $urlHome . ‘/images/avatar.gif’ ); ?></div><div class=”clr”></div>
</div>
<!–/content –>
<div class=”clr”></div>
</div>
<!–/box –>
<div id=”respond” class=”box” style=”padding:10px 0;”>
<div class=”content border”></div>
<div class=”fl”>If you enjoyed this article, please consider sharing it!</div>
<div class=”fr”>&title=<?php the_title(); ?>” title=”Bookmark at Delicious” rel=”nofollow” target=”_blank”><img src=”<?php bloginfo(‘template_directory’); ?>/images/ico-soc1.gif” alt=”Icon” /> ” title=”Bookmark at Mixx” rel=”nofollow” target=”_blank”><img src=”<?php bloginfo(‘template_directory’); ?>/images/ico-soc2.gif” alt=”Icon” /> &title=<?php the_title(); ?>” title=”Bookmark at StumbleUpon” rel=”nofollow” target=”_blank”><img src=”<?php bloginfo(‘template_directory’); ?>/images/ico-soc3.gif” alt=”” /> &title=<?php the_title(); ?>” title=”Bookmark at Digg” rel=”nofollow” target=”_blank”><img src=”<?php bloginfo(‘template_directory’); ?>/images/ico-soc4.gif” alt=”Icon” /> </div>
<div class=”clr”></div>
</div>
<div class=”clr”></div>
</div>
<!–/box –>
<div class=”box post-rel”>
<div class=”content border”>
<div class=”subcols”>
<div class=”col1″>
</div>
<!–/col1 –>
<div class=”col2″>
<h2>Popular Posts</h2>
<?php
foreach ( (array) taccess_popular_posts() as $_post ) : ?>
<div class=”th fl”>ID); ?>”><img src=”<?php echo get_post_meta($_post->ID, ‘post-img’, true); ?>” alt=”” /></div>
<div>ID); ?>”><?php echo $_post->post_title; ?></div>
<div class=”hl2″></div>
<?php endforeach; ?>
</div>
<!–/col1 –>
</div>
<div class=”clr”></div>
<!–/subcols –>
</div>
<!–/content –>
</div>
<!–/box –>
<?php comments_template(); ?>
<?php endwhile; else: ?>
<p>Sorry, no posts matched your criteria.</p>
<?php endif; ?>
<!–/centercol –>
</div>
<?php get_sidebar(); ?>
<div class=”clr”></div><!–/columns –>
<?php get_footer(); ?>
</table>
- The topic ‘Single post sidebar at the bottom of the page in firefox’ is closed to new replies.