aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/fix-ie7.css
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2007-01-09 20:47:57 +0000
committervdigital <vdigital@piwigo.org>2007-01-09 20:47:57 +0000
commit9c64437bef07344f68182caf27693d6ccd47e0d6 (patch)
treeb25043faa9575ae8af757edefd17c25da1bcd2cc /template/yoga/fix-ie7.css
parentbf11f74ac0a1ba1b1c7db846ddcb3b7969248909 (diff)
Fix for IE 7 bug on thumbnail borders
git-svn-id: http://piwigo.org/svn/trunk@1707 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/fix-ie7.css21
1 files changed, 21 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%;
+}