From: Aryeh Gregor Date: Sun, 12 Dec 2010 00:30:06 +0000 (+0000) Subject: Make ul.gallery block, not inline-block X-Git-Tag: 1.31.0-rc.0~33366 X-Git-Url: http://git.heureux-cyclage.org/?a=commitdiff_plain;h=f5ee1d4c61fe287a2997eed03983a0843f4d55f9;p=lhc%2Fweb%2Fwiklou.git 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). --- 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;