From 300eaed89232caa09695e2a947c4e92c1d2d229a Mon Sep 17 00:00:00 2001 From: chrisaga Date: Sat, 24 Jun 2006 08:56:59 +0000 Subject: feature 434: split thumbnails in template so customization could be easyer git-svn-id: http://piwigo.org/svn/trunk@1384 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/thumbnails-fix-ie5-ie6.css | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 template/yoga/thumbnails-fix-ie5-ie6.css (limited to 'template/yoga/thumbnails-fix-ie5-ie6.css') diff --git a/template/yoga/thumbnails-fix-ie5-ie6.css b/template/yoga/thumbnails-fix-ie5-ie6.css new file mode 100644 index 000000000..9f12c797e --- /dev/null +++ b/template/yoga/thumbnails-fix-ie5-ie6.css @@ -0,0 +1,27 @@ +/* $Id: $ */ +/* 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 LABEL { + overflow: visible; + position: absolute; + top: 50%; + text-align: center; +} +#content UL.thumbnails IMG.thumbnail { + position: relative; + top: -50%; + /*\*//*/ + margin-top: -40%; + /**/ +} +#content UL.thumbnails SPAN.wrap2 input { + position: absolute; + left: 0; + top: -50%; /* same as other browsers but not so pretty */ +} + -- cgit v1.2.3