From: Trevor Parscal Date: Tue, 21 Jul 2009 22:44:16 +0000 (+0000) Subject: Solves bug #19567 by applying the bottom margin to the child p or div tag, making... X-Git-Tag: 1.31.0-rc.0~40776 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=ba340432f7cbfca224851ca53d8639362b1ffaba;p=lhc%2Fweb%2Fwiklou.git Solves bug #19567 by applying the bottom margin to the child p or div tag, making it possible to have the #siteNotice div always present and the notice content hidden, without adding the extra space. --- diff --git a/skins/vector/main-ltr.css b/skins/vector/main-ltr.css index d59c286f76..0f9d79ac3a 100644 --- a/skins/vector/main-ltr.css +++ b/skins/vector/main-ltr.css @@ -843,11 +843,13 @@ img.thumbborder { #siteNotice { text-align: center; font-size: 95%; - margin-bottom: 0.9em; + margin: 0; } + #siteNotice div, #siteNotice p { margin: 0; padding: 0; + margin-bottom: 0.9em; } /* Categories */ .catlinks { diff --git a/skins/vector/main-rtl.css b/skins/vector/main-rtl.css index 93cf47a317..5307406d98 100644 --- a/skins/vector/main-rtl.css +++ b/skins/vector/main-rtl.css @@ -843,11 +843,13 @@ img.thumbborder { #siteNotice { text-align: center; font-size: 95%; - margin-bottom: 0.9em; + margin: 0; } + #siteNotice div, #siteNotice p { margin: 0; padding: 0; + margin-bottom: 0.9em; } /* Categories */ .catlinks {