From: Gabriel Wicke Date: Fri, 16 Apr 2004 11:41:24 +0000 (+0000) Subject: auto margins for objects in center class X-Git-Tag: 1.3.0beta1~400 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=0d66544c80d42563182200898a3912b80da733f8;p=lhc%2Fweb%2Fwiklou.git auto margins for objects in center class --- diff --git a/stylesheets/monobook/main.css b/stylesheets/monobook/main.css index 6064a934b8..a25612707d 100644 --- a/stylesheets/monobook/main.css +++ b/stylesheets/monobook/main.css @@ -273,7 +273,7 @@ pre { text-align: right; float: right; position: relative; - margin-top: -1.5em; + top: -1.5em; } #content { @@ -341,6 +341,10 @@ pre { width: 100%; text-align: center; } +div.center * { + margin-left: auto; + margin-right: auto; +} /* ** mediawiki-specific styles */ @@ -900,7 +904,7 @@ li#contentaction-watch { } #portal-footer li { display: inline; - margin-right: 2em; + margin: 0 1.3em; } /* hide from incapable browsers */ head:first-child+body #portal-footer li {