Good hint, here is my solution (in MediaWiki:Common.css):

table[align=left] {
  margin-right: 20px;
}

This adds 20px margin to all left-aligned tables.

Roland

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Christensen, 
Courtney
Sent: Montag, 30. März 2009 14:30
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Left aligned table and bullet list

> From: Roland Achermann
> Sent: Saturday, March 28, 2009 1:12 PM
>
> I could add "margin-right: 1.5em;" to the style "table" in file
> \skins\monobook\main.css as a quick fix. But the margin is not needed (not
> wanted) with not left-aligned table.
>
> Roland
>


You could also add this padding only to the left aligned tables.  You can do it 
in the page, or you can make a new style in main.css (Or in 
MediaWiki:common.css if you have access to it.) called .left 

Adding the margin that way would make sure you didn't affect tables you didn't 
want to have a margin on.

Good luck!
-Courtney

_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to