WordPress.org

Ready to get started?Download WordPress

Forums

Optimising for IE (3 posts)

  1. katiecoleman
    Member
    Posted 3 years ago #

    My theme at http://astrozombies.net84.net looks fine in Chrome and Firefox, but the wrapper div won't center and the footer floats at the top in IE.

    Any suggestions?

  2. DigitalSquid
    Member
    Posted 3 years ago #

    It's your DOCTYPE. The one you're using is for HTML5 which isn't supported by the older versions of IE so they're having trouble understanding some of the HTML and CSS on the page.

    You could fix it by changing the DOCTYPE to a XHTML version:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    However, if you want my personal opinion, don't bother. The issue should only be affecting people using IE7 (or older versions) and as a Web Developer, you shouldn't be forced to code sites for people who use outdated browsers.

  3. katiecoleman
    Member
    Posted 3 years ago #

    Thank you :)

    I'll put the DOCTYPE up there just in case, but I won't make any further changes as I see it's fine in IE8 now.

    Anyway, thank you again!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.