• I recently put up a custom wordpress site at:

    Sarah’s Aussie Adventures

    In IE7 only, the single blog entry pages (based off single.php) have the background image off-center by a lot. This only happens on the single blog entry pages and again, this problem is absent in every other browser I’ve tested (IE6, Firefox, Safari, IE8). Any help would be greatly appreciated!

    Thanks,
    Brian

Viewing 2 replies - 1 through 2 (of 2 total)
  • Unfortunately there’s no real way to figure it out without getting down and dirty with the theme code- Microsoft’s annoying in that they feel that “standards aren’t for us so we can basically make our browser display things however we want it to and pretty much screw developers and make them hate us.”

    However, if you can figure out something to do with CSS to fix the problem in that browser, it’s not too hard to work out. The easiest thing I can think of is to do something like this in your header.php file:

    <?php if(is_single()) { ?>
    <!–[if IE 7]>
    Magic CSS that fixes the problem, applied only if this is a single post page and if it’s IE 7
    <![endif]–>
    <?php } ?>

    That’s the set of “comparison operators” (yay jargon) you need to apply any styles necessary to fix it.

    [signature moderated Please read the Forum Rules]

    Thread Starter Invex09

    (@invex09)

    i figured it out. the

      for the comments was causing the problem. i’m not sure why, but setting that to a specified width. For a 900px width page with little padding, i ended up having to set the width to 600px for it to work. Not sure why but, solves the problem. Thanks for your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘BG Image offcentered only in IE7’ is closed to new replies.