[pmwiki-users] how to align all of table to the left

marc gmane at auxbuss.com
Thu Dec 28 07:16:48 CST 2006


J. Meijer said...
> 
> A || table results by default in a centered table.

It's normal for a table to align left, but a skin might override this - 
something I'd remove, personally.

> I need to align it to the left (or right) with markup.

It might be useful to keep something like the following in local.css:

  .centreit {margin-left:auto; margin-right:auto;}
  .leftit   {margin-right:auto;}
  .rightit  {margin-left:auto;}

To use it as you asked:

  || border=1 width=35% class=centreit
  ||barney || fred || dino||
  ||fred   || dino || barney||

-- 
Best,
Marc





More information about the pmwiki-users mailing list