Forums

Very different view in IE and firefox (3 posts)

  1. behappy
    Member
    Posted 2 years ago #

    When you see my blog http://cruisetaiwan.com/blog in firefox, it's ok

    However, when you see it in Internet Explorer,
    it screws up big time

    My sidebar.php is as below :

    <code>
    <!-- begin sidebar -->
    <div id="menu-left">
    <h2 class="coltitle">Last posts</h2>
    <?php
    $today = current_time('mysql', 1);
    if ( $recentposts = $wpdb->get_results("SELECT ID, post_title FROM $wpdb->posts WHERE post_status = 'publish' AND post_date_gmt < '$today' ORDER BY post_date DESC LIMIT 5")):
    ?>
    <ul>
    <li id="recents">
    <ul>
    <?php
    foreach ($recentposts as $post) {
    if ($post->post_title == '')
    $post->post_title = sprintf(__('Post #%s'), $post->ID);
    echo "<li><a href='" . get_permalink($post->ID) . "'>";
    the_title();
    echo '</a></li>';
    }
    ?>
    </ul>
    </li>
    </code>

    Please advise
    Thanks !

  2. drmike
    Member
    Posted 2 years ago #

    Please define "it screws up big time" We can't see through your eyes.

  3. behappy
    Member
    Posted 2 years ago #

    My blog is divided into 3 columns
    All my posts are on the center column of the blog

    On firefox, my posts are on the center of my blog.It's ok
    However, on IE, all the posts moved to the bottom left of the sidebar. Nothing is on the center column

    Please advise
    Thanks !

Topic Closed

This topic has been closed to new replies.

About this Topic