tags:

views:

18

answers:

1

So... here is my table

| Locking | x | x | x | x |
| Public / Private | x | x | x |  Default: Private |

now, how do I change it so that certain columns are centered, or that every cell is centered? or just a single cell?

A: 

A single cell is centered as following

|=. some-text |

For details see documentation or User Manual.


Update

This is a table example tested on github wiki.

Whole table center

table{text-align:center;}.

table{border:1px solid black; text-align:center;}.
|This|is|a centered table|row|
|This|is|a|row-row-row-row|

alt text

Single cell center

|=. centered-cell-text|

table{border:1px solid black; }.
|This|is|a centered table|=. cell|
|This|is|a|row-row-row-row|

alt text

amra
doesn't work on github =\
DerNalia