HTML5-Tags mit html5shiv.js für IE < 9 sichtbar gemacht
[website] / src / main / webapp / WEB-INF / templates / html5page.jsp
index ba52ec5..5c40bec 100644 (file)
@@ -7,8 +7,20 @@
   <head>
     <title>juplo - <t:getAsString name="title"/></title>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-    <base href="${pageContext.request.contextPath}/" />
-    <link rel="stylesheet" type="text/css" href="css/base.css"/>
+    <base href="http://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}/" />
+    <link rel="stylesheet" type="text/css" href="css/base.css" />
+    <style type="text/css">
+      @import 'css/screen.css' screen
+    </style>
+    <!--[if IE 8]>
+      <script src="js/ie8.js"></script>
+    <![endif]-->
+    <!--[if IE 7]>
+      <script src="js/ie7.js"></script>
+    <![endif]-->
+    <!--[if lt IE 7]>
+      <script src="js/ie6.js"></script>
+    <![endif]-->
   </head>
   <body>
     <header id="header">