We are currently working on an ASP.NET MVC 3.0 (Razor & HTML 5) application running on IIS 7.5 that is required to be compatible with IE8.
The site's content is displayed correctly when compatibility mode is OFF. However, if it is switched on, some elements extend outside of the designated space horizontally.
Due to company policy, all intranet applications must run in "Compatibility Mode," and this cannot be changed.
What solutions are possible? 1. Is there a way to programmatically instruct the browser not to use compatibility mode when rendering the application URL? 2. Is there any way within IIS 7.5 to ensure that rendering targets IE 8.0+? 3. Should we consider targeting HTML 4.0 and converting all CSS/HTML targeting older versions of HTML?
I am at a loss for ideas. It's possible that the above suggestions are also unrealistic.
Please provide some advice on how to proceed.