From f5ee1d4c61fe287a2997eed03983a0843f4d55f9 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Sun, 12 Dec 2010 00:30:06 +0000 Subject: [PATCH] Make ul.gallery block, not inline-block As suggested by fomafix at . This makes it play nicer with floats, at least in Firefox 4, and doesn't seem to otherwise break stuff (but I haven't tested in many browsers). --- skins/common/shared.css | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/skins/common/shared.css b/skins/common/shared.css index 3d9f4a5e29..a4b5b77475 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -793,12 +793,6 @@ li.gallerybox { border: solid 2px white; display: -moz-inline-box; } -ul.gallery { - margin: 2px; - padding: 2px; - background-color: white; - display: block; -} ul.gallery, li.gallerybox { display: inline-block; @@ -806,6 +800,13 @@ ul.gallery, li.gallerybox { *display: inline; } +ul.gallery { + margin: 2px; + padding: 2px; + background-color: white; + display: block; +} + li.gallerycaption { font-weight: bold; text-align: center; -- 2.20.1