aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--template/yoga/fix-ie7.css21
-rw-r--r--template/yoga/header.tpl3
2 files changed, 24 insertions, 0 deletions
diff --git a/template/yoga/fix-ie7.css b/template/yoga/fix-ie7.css
new file mode 100644
index 000000000..c2e4db602
--- /dev/null
+++ b/template/yoga/fix-ie7.css
@@ -0,0 +1,21 @@
+/* $Id: fix-ie7.css 1518 2007-01-09 16:26:52Z Vincent $ */
+/* fix IE with another layout for thumbnails */
+
+#content UL.thumbnails SPAN.wrap2 {
+ display: block;
+ position: relative;
+ text-align: left;
+}
+#content UL.thumbnails SPAN.wrap2 A,
+#content UL.thumbnails SPAN.wrap2 SPAN {
+ overflow: visible;
+ position: absolute;
+ top: 50%;
+ text-align: center;
+}
+
+#content UL.thumbnails IMG.thumbnail {
+ position: relative;
+ top: -50%;
+ margin-top: 2%;
+}
diff --git a/template/yoga/header.tpl b/template/yoga/header.tpl
index 563da9ec1..7fd63dada 100644
--- a/template/yoga/header.tpl
+++ b/template/yoga/header.tpl
@@ -34,6 +34,9 @@ the "text/nonsense" prevents gecko based browsers to load it -->
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/fix-ie5-ie6.css">
<![endif]-->
+<!--[if gt IE 6]>
+ <link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/fix-ie7.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">