• My site loads correctly in Fire Fox, but clicking on a permalink in Internet Explorer 6.0 causes the page alignment to skew left.

    Everything is XHTML valid, but try as I might I can’t figure out a fix. Anybody able to help?

    My Single Post looks like:

    <?php get_header(); ?>
    <div id=”wrapper”>
    <div id=”container” class=”<?php veryplaintxt_singlepagelayout() ?>”>
    <div id=”content”>

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    <div class=”navigation”>
    <div class=”alignleft”><?php previous_post_link(‘« %link’) ?></div>
    <div class=”alignright”><?php next_post_link(‘%link »’) ?></div>
    </div><!– END NAVIGATION –>

    <div id=”post-<?php the_ID(); ?>” class=”post”>
    <h2 class=”post-title”><?php the_title(); ?></h2>
    <div class=”post-entry”>
    <?php the_content(‘<span class=”more”>(Continued)</span>’); ?>
    <?php link_pages(‘<p style=”font-weight:bold;”>Pages: ‘, ‘</p>’, ‘number’); ?>
    </div><!– END POST-ENTRY –>
    <!– <?php trackback_rdf(); ?> –>
    <div class=”post-metadata”>

    <?php if ((‘open’ == $post-> comment_status) && (‘open’ == $post->ping_status)) { ?>Post a comment or leave a ” title=”Trackback URI” rel=”trackback”>trackback.
    <?php } elseif (!(‘open’ == $post-> comment_status) && (‘open’ == $post->ping_status)) { ?>Comments are closed, but you can leave a ” title=”Trackback URI” rel=”trackback”>trackback.
    <?php } elseif ((‘open’ == $post-> comment_status) && !(‘open’ == $post->ping_status)) { ?>Skip to the end and leave a response. Trackbacks are closed.
    <?php } elseif (!(‘open’ == $post-> comment_status) && !(‘open’ == $post->ping_status)) { ?>Apologies. Comments and trackbacks are both currently closed.
    <?php } edit_post_link(); ?>
    </h3>
    </div><!– END POSTMETADATA –>
    <?php comments_template(); ?>
    </div><!– END POST –>

    <?php endwhile; else: ?>
    <?php /* INCLUDE FOR ERROR TEXT */ include (TEMPLATEPATH . ‘/errortext.php’); ?>
    <?php endif; ?>

    </div><!– END CONTENT –>
    </div><!– END CONTAINER –>

    <?php
    global $veryplaintxt;
    if ($veryplaintxt->option[‘singlepagelayout’] == ‘narrowcolumn’) { /* THEME OPTION FOR DISPLAYING SIDEBAR */
    get_sidebar();
    }
    ?>
    </div>
    </div><!– END WRAPPER –>

    The relevant CSS:

    div#wrapper {
    width: 80%;
    margin: 3em auto 0 auto;
    }

    div#container {

    width: 100%;

    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter wickensworth

    (@wickensworth)

    Obligatory rephrasing of the question to disguise a bump:

    Anybody have any ideas? Point me in the right direction?

    You know when I see CSS that starts with incomprehensible over fancified gibberish with its origins in the default like this:

    /*<![CDATA[*/
    div#everything { margin: 0 15%; }
    body { font-size: 10.5pt; }
    body { font-family: "times new roman", times, serif; }
    h2.post-title { font-family: arial, helvetica, sans-serif; }
    div.post p { text-align: justify; }
    
    		div#container { float: left; }
    		div.narrowcolumn { margin: 0 -225px 0 0; }
    		div.narrowcolumn div#content { margin: 0 225px 0 0; }
    		div#sidebar { float: right; }
    		div#sidebar { text-align: center; }
    /*]]>*/

    I lose the will to live. Far less to help. WTF is all that stuff for ?

    Thread Starter wickensworth

    (@wickensworth)

    That’s my theme, Veryplaintxt 2.3. I think some of the code you cited is associated with the customizable options, but that’s speculation. I’ve been trying to interpret as much as I can, but I don’t know CSS, particularly not such over-fancified CSS. Should I enroll in CSS night classes? Should I just manually visit each one of my vistor’s houses and force them to upgrade to Firefox? Or can anybody think of a possible fix?

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

The topic ‘Single posts incorrectly alligned in IE’ is closed to new replies.