From 1125498ff2f0ba0f72f08cfc58be869894da2cd7 Mon Sep 17 00:00:00 2001 From: krisbulman Date: Fri, 25 May 2012 15:47:01 -0300 Subject: [PATCH] fixed css bug for thumbnail display --- .../css/islandora_basic_collection.theme.css | 17 ++++++++++------- .../islandora-basic-collection.tpl.php | 9 ++++++--- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/islandora_basic_collection/css/islandora_basic_collection.theme.css b/islandora_basic_collection/css/islandora_basic_collection.theme.css index 780abdce..e00d319c 100644 --- a/islandora_basic_collection/css/islandora_basic_collection.theme.css +++ b/islandora_basic_collection/css/islandora_basic_collection.theme.css @@ -5,21 +5,24 @@ Purpose of the stylesheet follows. */ -/* islandora-basic-collection STYLES*/ - .islandora-basic-collection { - width: 100%; - margin: 0 auto; + margin: 1.5em auto; overflow: hidden; + width: 96%; } dl.islandora-basic-collection-object { width: 20%; min-width: 100px; - text-align: center; - float: left; - margin: 2% 2% 50px 2%; + min-height: 180px; + display: -moz-inline-stack; + display: inline-block; + vertical-align: top; + margin: 1.5em 2%; + zoom: 1; + *display: inline; + _height: 180px; } .islandora-basic-collection-object dt img { diff --git a/islandora_basic_collection/islandora-basic-collection.tpl.php b/islandora_basic_collection/islandora-basic-collection.tpl.php index 07f2a73d..da5de757 100644 --- a/islandora_basic_collection/islandora-basic-collection.tpl.php +++ b/islandora_basic_collection/islandora-basic-collection.tpl.php @@ -22,11 +22,14 @@ */ ?> label); ?> + +
$value): ?> -
-
-
+
+
+
+
\ No newline at end of file