logo       

Re: Table styles: msg#00079

web.wiki.pmwiki.user

Subject: Re: Table styles

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?

Pm




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise