logo       

RE: Table styles: msg#00084

web.wiki.pmwiki.user

Subject: RE: Table styles

What I was thinking of was class='tableclass' inside a table that is made
from the || style of coding. Thinking about this more though, it may be
adding too much complexity to the basic form of table creation.

What do you think?

Edward

-----Original Message-----
From: Patrick R. Michaud [mailto:pmichaud@xxxxxxxxx]
Sent: 17 June 2003 02:22
To: Edward Andrews
Cc: Pmwiki-users@xxxxxxxxxxxx
Subject: Re: [Pmwiki-users] 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