i have asp.net web form head section this:
<head runat="server"> <title>web application</title> <link rel="stylesheet" href="resources/material.min.css" /> <link rel="stylesheet" href="resources/style.css" /> <link rel="shortcut icon" type="image/x-icon" href="resources/favicon.ico" /> <script type="text/javascript" src="resources/material.min.js"></script> <meta http-equiv="x-ua-compatible" content="ie=10"/> </head> the application won't work in internet explorer compatibility mode, unfortunately our firm enables in ie default. fix adding meta tag above, reason isn't working on page. if move meta tag top of <head> section, before style sheets, work. question this: there reason order matters? i'm baffled.
yes, order matters. browser procedurally processes html. if meta tag first, internet explorer knows use compatibility mode starts parsing document. otherwise, it's started parsing , processed else - css, javascript, not in compatibility mode.
Comments
Post a Comment