[Mediawiki-l] Left aligned table and bullet list

Giuseppe Briotti g.briotti at gmail.com
Mon Mar 30 10:07:21 UTC 2009


>
> -----Original Message-----
> From: mediawiki-l-bounces at lists.wikimedia.org
> [mailto:mediawiki-l-bounces at lists.wikimedia.org] On Behalf Of Roland
> Achermann
> Sent: Saturday, March 28, 2009 1:12 PM
> To: MediaWiki announcements and site admin list
> Subject: Re: [Mediawiki-l] Left aligned table and bullet list
>
> I want to have the table left aligned, there is nothing wrong with the
> table. And the bullets shall surround the table. But I don't want to have
> the bullets overlapping the table, that's "wrong". I just don't know if
> this
> is a rendering problem of the browsers, or if it could be fixed within the
> CSS.
>
> 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
>

Well, instead of use CSS (this affects all the tables of the wiki) probably
you cand add the style properties to the table itself:

*bullet
*bullet
{|
|Test1
|}
*bullet
*bullet
{| border="0"  cellpadding="5" cellspacing="0"
|Test2
|}
*bullet
*bullet
{|align=left border="1pt" style="margin-right:20px;"
|Test3
|}
*bullet
*bullet
*bullet

This seems to work...

G.

-- 

Giuseppe Briotti
g.briotti at gmail.com

"Alme Sol, curru nitido diem qui
promis et celas aliusque et idem
nasceris, possis nihil urbe Roma
visere maius."
(Orazio)


More information about the MediaWiki-l mailing list