Can I detect IE Document Mode on the server side using the HttpBrowserCapabilities object

后端 未结 3 557
小鲜肉
小鲜肉 2021-01-22 04:57

I can find out the browser version and specific capabilities using the HttpBrowserCapabilities object, but is there a way I can find the Document Mode that the browser is using

3条回答
  •  北荒
    北荒 (楼主)
    2021-01-22 05:09

    You can determine it on the client side, then have the client request the correct css file...

    
    
    ...
    
    

    And of course you could make that little "selector" script a file that's included, rather than actually coding it in-line in each page you make.

提交回复
热议问题