<?php the_content('(Continued)'); ?>
<?php link_pages('
Pages: ', '
', 'number'); ?>My xhtml-valid website ekarj.com appears to load correctly in IE 6.0, but clicking on a permalink causes the page alignment to skew left.
I've looked around quite a bit but haven't found a fix. Anybody able to help on this will be rewarded with seven invisible cookies.
Relevant CSS:
div#wrapper {
width: 80%;
margin: 3em auto 0 auto;
}
div#container {
width: 100%;
}
Single Post php:
<?php get_header(); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
Pages: ', '
', 'number'); ?> <?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(); ?>
<?php comments_template(); ?>
<?php endwhile; else: ?>
<?php /* INCLUDE FOR ERROR TEXT */ include (TEMPLATEPATH . '/errortext.php'); ?>
<?php endif; ?>
<?php
global $veryplaintxt;
if ($veryplaintxt->option['singlepagelayout'] == 'narrowcolumn') { /* THEME OPTION FOR DISPLAYING SIDEBAR */
get_sidebar();
}
?>
Did you even check the validation or are you just saying that it's valid so we'd look at it?
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fekarj.com%2F%3Fp%3D234
So I had spent some time validating the page for XHTML 1.0 Transitional:
http://validator.w3.org/check?uri=http://ekarj.com/
You're testing the validation of the single post, which I suppose I never considered. I guess I should validate that too? In that case I'll need to grab a bottle of Advil and some vodka and see what I can do.
Meanwhile, has anybody experienced this IE alignment problem? Does anybody have any potential fixes?
OK, the single posts are now valid, and the problem is fixed. The culprit was a useless h3 endtag.
Thanks for pointing me in the right direction, in your special derisive way. I thought validating the index was enough, which proves that I'm a CSS neophyte. Now it's time to validate my esophagus for Vodka.
Your index page wasn't the one with the problem... was it?
That's why you validate your page before bringing it to us. Maybe you can figure it out yourself.
After validation and it still doesn't work, THEN you come to us.
Glad you got it sorted out.
Thanks for pointing me in the right direction, in your special derisive way. I thought validating the index was enough, which proves that I'm a CSS neophyte.
Don't call Deuce derisive. You wouldn't take your steering wheel to a mechanic and say the steering wheel works fine but your car won't start, would you?
Glad you got it fixed though.