Tuesday, November 29, 2011

ASP.NET website looks different when deployed

PROBLEM:
ASP.NET website looks different when deployed and browsed with IE 8. Borders in gridviews disappearing in the published site, simple html horizontal rules aren't the same, CSS behaving differently on deployment. This behevior occure when browsing IE

SOLUTION:
Put META Tag in HEAD element of your aspx web pages (or better in master page)
<meta http-equiv="X-UA-Compatible" content="IE=8" /> 


If you find this solution useful, you are welcome to press one of the ads in this page.. Thanks!

1 comment:


  1. It seems you are so busy in last month. The detail you shared about your work and it is really impressive that's why i am waiting for your post because i get the new ideas over here and you really write so well.

    Selenium training in Chennai
    Selenium training in Bangalore
    Selenium training in Pune
    Selenium Online training

    ReplyDelete