Link to home
Start Free TrialLog in
Avatar of ts84zs
ts84zs

asked on

Disable Compatiblity mode in IE using meta-tag does not work in a-href

I have created intranet webpage - page1.html. It has
<a href="page2.aspx" > page2</a>

Now, page2.aspx has some c# code and the rest is  html5 code. If browser is set to run in "compatibility mode" it does not appear properly.

So in page2.aspx I added this code -  
<head> <meta http-equiv="X-UA-Compatible" content="IE=edge">  </head>  
Hence if i open link http://myserver/mywebsite/page2.aspx, it appears fine even if in IE browser "show intranet sites in compatibility mode" is checked.

But if i open page2.aspx by clicking on the link in page1.html, it does not appear correctly

please guide

thanks...
ASKER CERTIFIED SOLUTION
Avatar of Miguel Oz
Miguel Oz
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial