简体   繁体   中英

compatibility issue is IE10

I have an asp.net website that looks good, as it should, on IE8,IE9 as well as the latest versions of Firefox and Chrome.

the server click is working fine in all web browsers.. in IE10 it's not working..when Clicking IE10's "Compatibility button" its work fine..

but I can't tell all users to turn on compatibility button and browse.

I want to do dis in coding side.. I have tried <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" >

and

<system.webServer>
    <httpProtocol>
        <customHeaders>
            <clear />
            <add name="X-UA-Compatible" value="IE=EmulateIE7" />
        </customHeaders>
    </httpProtocol>
</system.webServer>

and this also

try dis also

I've tried overriding the compatibility mode, to no avail:

but it's not working in IE10.

this works for me

<head runat="server">
<meta id="FirstCtrlID" runat="server" http-equiv="X-UA-Compatible" content="IE=8" />
</head>

Try

<meta http-equiv="X-UA-Compatible" content="IE=edge">

IE compatibility meta tags have been described in detail by this answer in the answer to the following question What does <meta http-equiv="X-UA-Compatible" content="IE=edge"> do?

Just try this

<meta http-equiv="X-UA-Compatible" content="IE=8, IE=9, IE=10, IE=Edge" />

here IE=Edge is to mean highest compatibility. but for your problem IE=10 will be the fix.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM