WordPress.org

Ready to get started?Download WordPress

Forums

Ratings and Text alignment does not work in explorer (1 post)

  1. sbuerba
    Member
    Posted 2 years ago #

    The following page can be seen correctly aligned in chrome but not in explorer. If I remove the ratings function it aligns correctly in both. How can I fix this code to have proper alignment in explorer? Thanks!!

    PAGE
    http://www.molecularrecipes.com/molecular-gastronomy-restaurants-molecular-mixology-bars/united-states/

    CODE

    <?php
          $args = array(
    	'post_parent' => $post->ID,
    	'post_type' => 'page',
    	'post_status' => 'publish',
    	'numberposts'     => 0,
    	'order'=> 'ASC',
    	'orderby' => 'title'
    );
    	 $postslist = get_posts($args);
         foreach ($postslist as $post) :
            setup_postdata($post);?>
            <div class="portfolio_box">
            <div>
            <?php if (  (function_exists('has_post_thumbnail')) && (has_post_thumbnail())  ) { the_post_thumbnail(array( 100,100 ), array( 'class' => 'alignleft' )); } ?>
            <h2><a>"><?php the_title(); ?> </a></h2>
            </div>
    
    	<div class="indexexcerpt" >
    	<strong><?php if(function_exists('the_ratings')) { the_ratings(); } ?></strong>
            <?php the_excerpt(); ?> <div style="text-align:right">[ <a>">Read more</a> ]</div>
            </div>
    
            <div class="divider"> </div>
            </div>
    
         <?php endforeach; ?>

    [ mod: please remember in future to use code tags or include code using a pastebin ]

Topic Closed

This topic has been closed to new replies.

About this Topic