WordPress.org

Ready to get started?Download WordPress

Forums

IE7 offsetting two divs by 20pixels (2 posts)

  1. mikonium
    Member
    Posted 4 years ago #

    Hi,

    My code is valid (XHTML and CSS validated), but for some reason IE7 insists on moving these two divs (Blog link and the "See More" link in the video box) over to the right by 20 pixels. http://getdangoodman.com

    Links in those two divs used to have ampersands in them, which was causing validation errors, and when I fixed it with &, they went back to the correct way. But then for some reason when I refreshed again, they got screwed up again. It's all very confusing to me. I feel like this stuff is just happening by random.

    any help would greatly aid my sanity!

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    The div issue is almost certainly a CSS issue which, given IE7's poor CSS box model, is probably best dealt with by using conditional comment CSS.

    http://quirm.net/2009/06/29/wordpress-conditional-comment-css/

Topic Closed

This topic has been closed to new replies.

About this Topic