From: Arne Heizmann Date: Tue, 22 Jun 2004 21:39:36 +0000 (+0000) Subject: Allow the 'floatleft' and 'floatright' classes not just on divs, but tables as well... X-Git-Tag: 1.5.0alpha1~2792 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=ca164782500806e3f0b404d9bef9e50617e5b107;p=lhc%2Fweb%2Fwiklou.git Allow the 'floatleft' and 'floatright' classes not just on divs, but tables as well (useful for taxoboxes) --- diff --git a/stylesheets/monobook/main.css b/stylesheets/monobook/main.css index d840f021b9..8e5d8bc8c4 100644 --- a/stylesheets/monobook/main.css +++ b/stylesheets/monobook/main.css @@ -308,7 +308,7 @@ in the bottom-right corner of the content area */ } /* images */ -div.floatright { +div.floatright table.floatright { clear: right; float: right; margin: 0; @@ -317,7 +317,7 @@ div.floatright { border-width: 0.5em 0 0.8em 1.4em; } div.floatright p { font-style: italic; } -div.floatleft { +div.floatleft table.floatleft { float: left; margin: 0.3em 0.5em 0.5em 0; position: relative; diff --git a/stylesheets/monobook/rtl.css b/stylesheets/monobook/rtl.css index 7fd6b77d59..919e6d0943 100644 --- a/stylesheets/monobook/rtl.css +++ b/stylesheets/monobook/rtl.css @@ -135,10 +135,10 @@ div.tright { div.tleft { clear: left; } -div.floatright { +div.floatright table.floatright { clear: none; } -div.floatleft { +div.floatleft table.floatleft { clear: left; } div.townBox {