Forums

Multiple X-UA-Compatible declaration in single site (2 posts)

  1. kgss-dev
    Member
    Posted 10 months ago #

    Hello Peeps~

    I am trying to declare multple X-UA-Compatible meta contents in a single wordpress site for IE compatibility hack.

    To elaborate:
    I have two pages.
    Page 1 = Invokes Quirks mode in IE (using comments at the beginning of doctype declaration and http-equiv="X-UA-Compatible" Content="IE=5" in the meta tag)

    Page 2 = Invokes IE 9 as the doctype (using http-equiv="X-UA-Compatible" Content="IE=9")

    Visiting the individual pages by typing in the URL invokes the correct document types (aka compatibility mode) in IE.
    The problem begins when I go from page 1 to page 2 by clicking a link to page 2 (for instance, from a menu) or vice versa.
    IE keeps the old compatibility mode setting.

    For example, if I start in Page 1 and go to Page 2, IE renders Page 2 in Quirks Mode.

    I know this is not the ideal way to make a site, but I need this to test some things out, and I would really appreciate your help! =)

    Thank you~ ^_^

  2. kgss-dev
    Member
    Posted 10 months ago #

    I don't want Google to cache my URL, so I will use bit.ly.

    Here are the two pages.
    Page 1 (uses Quirks Mode - all other pages in the site except for the page 2 uses Quirks Mode, actually.)
    http://bit.ly/rpBmBa

    Page 2 (uses IE 9 Compatibility Mode)
    http://bit.ly/qNHgMu

    Thanks guys~

Reply

You must log in to post.

About this Topic