[Moin-User] images or tables in the center

Robert Schumann robert at cantab.net
Sun Apr 30 03:43:13 EDT 2006


On Sun, 2006-04-30 at 13:05 +0430, Mehdi Hassanpour wrote:
> Hi List,
> 
> No Ideas ?
> 
> 
> On 4/29/06, Mehdi Hassanpour <mehdi.public at gmail.com> wrote:
>         Hi,
>         
>         I can't set images or tables to be in middle center of the
>         page... Is this a bug ? or I'm doing some thing wrong...
>         This is an example page: 
>         
>         http://wiki.hezardastan.org/ChatUsingGaim
>         
The (slightly annoying) way to centre a block-level element in CSS is
using auto margins.  So something like
||<tablestyle="margin-left:auto;
margin-right:auto;">http://example.com/pic.jpg ||

would make a centred table.

Then only way to centre an image in MoinMoin is to put it in a table
like this.

Robert.

> 
> -- 
> ********************************************************
> Yours Sincerely, Mehdi Hassanpour
> ---------------------------------------------------------------------- 
> /* Of one Essence is the human race,
> Thusly has Creation put the Base;
> One Limb impacted is sufficient,
> For all Others to feel the Mace.
>                            ~Saadi (persian poet) -1258 */
> ----------------------------------------------------------------------
> http://ImPersian.com     |     http://Hezardastan.org
> ********************************************************





More information about the Moin-user mailing list