Multiple day posts in IE
-
Hi everyone – I just began the switch to WordPress and a new domain name and am having an interesting problem here. I searched the forums, but I couldn’t find a similar topic so I’m posting a new one (my apologies if this is addressed elsewhere).
My template looks good for the most part (http:/www.stereojoe.com/blog), except in some cases (when looking at a particular month, for example: http://stereojoe.com/blog/index.php?m=200307) where the menu on the right gets pushed to the bottom of the page.
This is only a problem wih Internet Explorer (I’m running 6.0 on this machine). It renders correctly in both Opera and Firefox.
As far as I can tell, this is happening in the months where I have more than one post for the same day. I’m guessing an extra</div>
is being added somewhere. Look at the following posts: http://stereojoe.com/blog/index.php?p=137 and http://stereojoe.com/blog/index.php?p=136.
If anyone can take a look and see if you spot anything – I will be most grateful. Thanks in advance!
Here’s my index.php code:
<?php
/* Don't remove this line. */
require('./wp-blog-header.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/1">
<title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo('charset'); ?>" />
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
<style type="text/css" media="screen">
@import url( <?php echo get_settings('siteurl'); ?>/wp-layout.css );
</style>
<link rel="stylesheet" type="text/css" media="print" href="<?php echo get_settings('siteurl'); ?>/print.css" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php //comments_popup_script(); // off by default ?>
<?php wp_head(); ?>
</head>
<body>
<div id="outer">
<h1 id="header"> <img src="/img/header.jpg" width="800" height="169"></h1>
<div id="content">
<?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
<?php the_date('','<span class="date">','</span>'); ?>
<div class="post">
<span class="storytitle" id="post-<?php the_ID(); ?>">" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></span>
<br><span class="meta">Posted by <?php the_author() ?> @ <?php the_time() ?> | <?php _e("Filed under:"); ?> <?php the_category() ?></span>
<div class="storycontent">
<?php the_content(); ?>
</div>
<div class="feedback">
<?php wp_link_pages(); ?>
<?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
</div>
<!--
<?php trackback_rdf(); ?>
-->
<?php include(ABSPATH . 'wp-comments.php'); ?>
</div>
<?php endforeach; else: ?>
<?php _e('Sorry, no posts matched your criteria.'); ?>
<?php endif; ?>
</div>
<div id="menu">- About:
<li id="categories"><?php _e('Categories:'); ?>
-
<?php wp_list_cats(); ?>
<li id="archives"><?php _e('Archives:'); ?>
-
<?php wp_get_archives('type=monthly'); ?>
<li id="search">
<label for="s"><?php _e('Search:'); ?></label>
<form id="searchform" method="get" action="<?php echo $PHP_SELF; ?>">
<div>
<input type="text" name="s" id="s" size="15" /><input type="submit" name="submit" value="<?php _e('Search'); ?>" />
</div>
</form><?php get_links_list(); ?>
<li id="other"><?php _e('Other:'); ?><li id="meta"><?php _e('Meta:'); ?>
- " title="<?php _e('Syndicate this site using RSS'); ?>"><?php _e('RSS 2.0'); ?>
- " title="<?php _e('The latest comments to all posts in RSS'); ?>"><?php _e('Comments RSS 2.0'); ?>
- "><?php _e('Valid XHTML'); ?>
- ">WP
</div>
<div id="footer">
<!--<?php echo $wpdb->num_queries; ?> queries. <?php timer_stop(1); ?> seconds. --> © 2002 - 2004, Joe Rivera & stereojoe.com
<br>Powered by Word Press and Green Mountain Coffee
</div>
</div>
</body>
</html>
- The topic ‘Multiple day posts in IE’ is closed to new replies.