Title: Cross-Browser Coding Problem &#8211; Posts Disappear in IE?
Last modified: August 19, 2016

---

# Cross-Browser Coding Problem – Posts Disappear in IE?

 *  Resolved [ericnovak](https://wordpress.org/support/users/ericnovak/)
 * (@ericnovak)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/cross-browser-coding-problem-posts-disappear-in-ie/)
 * I helped a friend design [this blog](http://www.jasonpensa.com) and after we 
   finished up everything looked pretty good. Go figure we had to take a look at
   it in IE. For some reason it takes the top posts down in IE but leaves them up
   in FF and Chrome :S
 * Here is the Default Index code:
 *     ```
       <div id="post-top">
       	<div class="breadcrumb">
       		<?php if(function_exists('bcn_display')) { bcn_display(); }
       		else { ?>
       			<?php if( is_tag() ) { ?>
       				You are currently viewing: <em>Posts Tagged &quot;<?php single_tag_title(); ?>&quot;</em>
       			<?php } elseif (is_day()) { ?>
       				You are currently viewing: <em>Posts made in <?php the_time('F jS, Y'); ?></em>
       			<?php } elseif (is_month()) { ?>
       				You are currently viewing: <em>Posts made in <?php the_time('F, Y'); ?></em>
       			<?php } elseif (is_year()) { ?>
       				You are currently viewing: <em>Posts made in <?php the_time('Y'); ?></em>
       			<?php } elseif (is_search()) { ?>
       				Search results for: <em><?php the_search_query() ?></em>
       			<?php } ?>
       		<?php }; ?>
       	</div> <!-- end breadcrumb -->
       </div> <!-- end post-top -->	
   
       <div id="main-area-wrap">
       	<div id="wrapper">
       		<div id="main" class="noborder">
       <?php $i = 0; if (have_posts()) : while (have_posts()) : the_post();
       	$i++;
       	if (get_option('enews_grab_image') == 'Enable') { $thumb = catch_that_image(); }
       	else { $thumb = get_post_meta($post->ID, 'Thumbnail', $single = true); } ?>
       	<div class="mainpost-wrap<?php if (($i%2)<>0) echo (" fst") ?>">
       		<h2><a href="<?php the_permalink() ?>" title="Permanent Link to <?php the_title(); ?>"><?php the_title2('', '...', true, '37'); ?></a></h2>
       		<p><?php truncate_post(119); ?></p>
       		<a href="<?php the_permalink() ?>" title="Permanent Link to <?php the_title(); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php echo $thumb; ?>&h=114&w=291&zc=1" alt="<?php echo(the_title()); ?>" width="291px" height="114px" /></a>
       		<div class="info"><em>posted on</em>: <?php the_time(get_option('enews_date_format')) ?> | <em>author</em>: <?php echo get_the_author(); ?></div>
       	</div> <!-- end mainpost-wrap-->
       <?php endwhile; ?>
   
       	<?php if( function_exists('wp_pagenavi') ) { wp_pagenavi(); }
       	else { ?>
       		<p class="pagination">
       			<span id="prev-posts"><?php next_posts_link('&laquo; Previous Entries') ?></span>
       			<span id="next-posts"><?php previous_posts_link('Next Entries &raquo;') ?></span>
       		</p>
       	<?php } ?>
   
       <?php else : ?>
       	<!--If no results are found-->
       	<div id="post-content">
       		<h1>No Results Found</h1>
       		<p>The page you requested could not be found. Try refining your search, or use the navigation above to locate the post.</p>
       		<!--End if no results are found-->
       	</div>
       <?php endif; ?>
       		</div> <!-- end main -->
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [garryconn](https://wordpress.org/support/users/garryconn/)
 * (@garryconn)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/cross-browser-coding-problem-posts-disappear-in-ie/#post-1250076)
 * I’d probably go hunting in the style.css not the index.php
 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/cross-browser-coding-problem-posts-disappear-in-ie/#post-1250169)
 * [You have validation errors](http://validator.w3.org/check?uri=http%3A%2F%2Fjasonpensa.com%2F&charset=%28detect+automatically%29&doctype=Inline&group=0),
   mostly because you replaced/misplaced hyphens in your index.php or page.php in
   comments. And you also have a few missing closing tags. Fix those and the display
   should fix itself.
 *  Thread Starter [ericnovak](https://wordpress.org/support/users/ericnovak/)
 * (@ericnovak)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/cross-browser-coding-problem-posts-disappear-in-ie/#post-1250355)
 * Thanks guys,
    I fixed the validation errors and that took care of the problems.
 * -E

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Cross-Browser Coding Problem – Posts Disappear in IE?’ is closed to new
replies.

## Tags

 * [coding error](https://wordpress.org/support/topic-tag/coding-error/)
 * [Firefox](https://wordpress.org/support/topic-tag/firefox/)
 * [ie](https://wordpress.org/support/topic-tag/ie/)
 * [Internet Explorer](https://wordpress.org/support/topic-tag/internet-explorer/)

 * 3 replies
 * 3 participants
 * Last reply from: [ericnovak](https://wordpress.org/support/users/ericnovak/)
 * Last activity: [16 years, 7 months ago](https://wordpress.org/support/topic/cross-browser-coding-problem-posts-disappear-in-ie/#post-1250355)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
