[Pmwiki-users] Table styles

Patrick R. Michaud pmichaud at pobox.com
Mon Jun 16 20:22:23 CDT 2003

On Sun, Jun 15, 2003 at 03:25:28PM +0100, Edward Andrews wrote:
> Is it possible to add a class or id tag to tables or cells to enable
> styling through CSS?

For the block-level tables (using the [[table]] and [[cell]] tags), you
can add any class attributes you want in the wiki markup, as in

    [[table class='mytclass']]
    [[cell id='myfirstcell' class='mytcell']]

For ||-tables, the attributes of the <table> and <td> tags are taken from 
the $TableAttr and $TableCellAttr configuration variables, and you can
set these to be whatever you want.

Is that sufficient, or were you looking for something else?


More information about the pmwiki-users mailing list