Support » Fixing WordPress » Ratings and Text alignment does not work in explorer

  • 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!!



          $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) :
            <div class="portfolio_box">
            <?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 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 class="divider"> </div>
         <?php endforeach; ?>

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

  • The topic ‘Ratings and Text alignment does not work in explorer’ is closed to new replies.