From 702e6a19ef4925ebc1861ab37b4afcef13a25423 Mon Sep 17 00:00:00 2001 From: chrisaga Date: Mon, 29 Aug 2005 20:00:48 +0000 Subject: Litle hack to make Geko align thumbnails on top Smaller font for thumbnails legend (less wrapping for long category names) git-svn-id: http://piwigo.org/svn/trunk@856 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/cclear/content.css | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'template/cclear/content.css') diff --git a/template/cclear/content.css b/template/cclear/content.css index c29cf99f6..33299e273 100644 --- a/template/cclear/content.css +++ b/template/cclear/content.css @@ -42,6 +42,7 @@ BODY#theNotificationPage #content display: table-cell; display: inline-table; display: inline-block; vertical-align: top; /* OK with Opera and IE6 not Geko */ text-align: center; /* to center the thumbnail and legend in Geko/Opera */ + font-size: 80%; } #content UL.thumbnails SPAN SPAN { margin: 0; /* important reset the margins */ @@ -62,6 +63,10 @@ BODY#theNotificationPage #content #content UL.thumbnails IMG { margin-bottom: -4px; /* why ??? something wrong with Geko and Opera ignored by IE6*/ } +/* fix Geko's lack of good willing in vertical-align: top */ +#content UL.thumbnails>LI>SPAN{ + height: 170px; /* unfortunately min-height doesn't work here */ +} /* fix IE with another layout */ * html #content UL.thumbnails SPAN { -- cgit v1.2.3