From 085f3badc087cfe5cf41e5dbff4b914bb02285c0 Mon Sep 17 00:00:00 2001 From: vdigital Date: Thu, 11 Jan 2007 05:39:49 +0000 Subject: Summary reported bug 616: IE 7 Display : thumbnail border is top truncated git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1712 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/fix-ie7.css | 21 +++++++++++++++++++++ template/yoga/header.tpl | 3 +++ 2 files changed, 24 insertions(+) create mode 100644 template/yoga/fix-ie7.css 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 1684c6cd1..275dd2736 100644 --- a/template/yoga/header.tpl +++ b/template/yoga/header.tpl @@ -11,6 +11,9 @@ the "text/nonsense" prevents gecko based browsers to load it --> + -- cgit v1.2.3