I am experiencing a strange problem with my website today. I have my local code in aspx , which i can browse perfectly in ie and firefox, I publish it in my computer and create a virtual web site and then browse it with both firefox and ie like http://localhost/testwebsite/default.aspx and it displays also perfectly but when switching from localhost to my local ip address the page displays strange in the element layout, they lay in strange order not like they should.
I am not being able to figure out this problem? Is it some new problem of ie. What is so different when browsing by localhost and ip for the same published code. The only one doubt would be about relative css and javascript paths but we checked them and they appear fine.
Try adding the following meta tag to the head of your page:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
I was having a similar problem with IE8 forcing an intranet site of mine to be viewed in IE7 compatibility mode.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With