aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2005-08-29 20:00:48 +0000
committerchrisaga <chrisaga@piwigo.org>2005-08-29 20:00:48 +0000
commit702e6a19ef4925ebc1861ab37b4afcef13a25423 (patch)
tree35c1e187c40691ef65df521aabbc1092b9ca65bc
parent3354d77847ff7a8431b1daa5f810cbd7a3cc5c86 (diff)
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
-rw-r--r--template/cclear/content.css5
1 files changed, 5 insertions, 0 deletions
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 {