Um in IE 10, 9 und 8 gut zu funktionieren, was soll ich in meine einfügen?Was sollte ich in <head> für IE einschließen?
Ich suchte hier und da, dann habe ich wie folgt eingegeben. Ich möchte sicherstellen, dass die unteren Codes in Ordnung sind. Ich habe keinen Bootstrap oder irgendwelche Frameworks verwendet.
Ich verwendete Modenizr.
Hier ist der Code im Kopf.
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html lang="en" class="no-js">
<!--some meta tags-->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!--[if lte IE 8]><script src="js/libs/selectivizr.js"></script><![endif]-->
<!--link my style sheet here -->
<!--[if lte IE 8]>
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto" />
<![endif]-->
<!--my other link and scripts here -->
Vielen Dank im Voraus.
keine Möglichkeit, dies zu beantworten. Eine grundlegende HTML-Seite mit minimalem CSS braucht nicht ALLES, um im IE zu "arbeiten". –
' ' das könnte wirklich helfen, wenn semantisches HTML verwendet wird – claudios