aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga
diff options
context:
space:
mode:
Diffstat (limited to 'template/yoga')
-rw-r--r--template/yoga/fix-ie5-ie6.css2
-rw-r--r--template/yoga/header.tpl5
2 files changed, 6 insertions, 1 deletions
diff --git a/template/yoga/fix-ie5-ie6.css b/template/yoga/fix-ie5-ie6.css
new file mode 100644
index 000000000..4e6daf38e
--- /dev/null
+++ b/template/yoga/fix-ie5-ie6.css
@@ -0,0 +1,2 @@
+/* $Id:$ */
+/* Issues in IE from 5 to 6 only to to be used with IE7 */
diff --git a/template/yoga/header.tpl b/template/yoga/header.tpl
index 48b187e6d..c9708033c 100644
--- a/template/yoga/header.tpl
+++ b/template/yoga/header.tpl
@@ -8,6 +8,9 @@
<!-- the next css is used to fix khtml (Konqueror/Safari) issue
the "text/nonsense" prevents gecko based browsers to load it -->
<link rel="stylesheet" type="text/nonsense" href="{pwg_root}template/{themeconf:template}/fix-khtml.css">
+<!--[if lt IE 7]>
+<link rel="stylesheet" type="text/nonsense" href="{pwg_root}template/{themeconf:template}/fix-ie5-ie6.css">
+<![endif]-->
<link rel="stylesheet" type="text/css" media="print" href="{pwg_root}template/{themeconf:template}/print.css">
<link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/default-colors.css">
<link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/theme/{themeconf:theme}/theme.css">
@@ -19,7 +22,7 @@ the "text/nonsense" prevents gecko based browsers to load it -->
<!-- END refresh -->
<title>{GALLERY_TITLE}:{PAGE_TITLE}</title>
<script type="text/javascript" src="{pwg_root}include/scripts.js"></script>
-<!--[if gte IE 5.5000]>
+<!--[if lt IE 7]>
<script type="text/javascript" src="{pwg_root}include/pngfix.js"></script>
<![endif]-->
</head>