From: MatmaRex Date: Mon, 6 May 2013 14:34:31 +0000 (+0200) Subject: display: inline-block for .errorbox, .warningbox, .successbox X-Git-Tag: 1.31.0-rc.0~19635 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=cef46d0831a34540b1e1b5da012b3feee4e647c6;p=lhc%2Fweb%2Fwiklou.git display: inline-block for .errorbox, .warningbox, .successbox It previously used float: left to generate a box with intrinsic width, which required the next element to have clear: left to avoid display quirks. display: inline-block is the proper way to do this. Includes hacks for IE6 and FF2. Bug: 33438 Change-Id: Ibb9371eecb99b627ba9dfca5b0a60143fbd6f84f --- diff --git a/skins/common/shared.css b/skins/common/shared.css index 8b8706b176..fb140b2662 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -543,9 +543,12 @@ table.collapsed tr.collapsable { font-size: larger; border: 2px solid; padding: .5em 1em; - float: left; margin-bottom: 2em; color: #000; + display: -moz-inline-block; + display: inline-block; + zoom: 1; + *display: inline; } .errorbox { border-color: red;