Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE 8 issue with conditionals #1340

Closed
DaniHaag opened this issue Mar 22, 2013 · 2 comments
Closed

IE 8 issue with conditionals #1340

DaniHaag opened this issue Mar 22, 2013 · 2 comments

Comments

@DaniHaag
Copy link

when I use conditionals in IE 8 the page will be in Browser mode IE8 Compat View and Document Mode IE7 Standards. If I remove the conditionals and just add the code needed for IE8 it works fine.

Daniel

<!DOCTYPE html>
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"><![endif]-->
<!--[if IE 7]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
<!--[if IE 8]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="en">
<!--<![endif]-->
<head>
    <!-- [start meta -->
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <!-- end meta] -->
    <title></title>
</head>
<body>
</body>
</html>
@DaniHaag
Copy link
Author

seems to be similar to #378 and additional default setting of the compatibility view for intranet applications

@alrra
Copy link
Member

alrra commented Mar 22, 2013

Duplicate of #1187.

@DaniHaag also see #1290 .

@alrra alrra closed this as completed Mar 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants