--- "Patrick R. Michaud" <[EMAIL PROTECTED]> wrote: > On Thu, May 24, 2007 at 08:59:05AM -0700, Martin > Fick wrote: > > You will still have the problem of getting rows to > > look nice if there is any spacing between cells > since > > your template only sets the bg color on the cells, > not > > the entire row. There is a PITS for this: > > > > http://www.pmwiki.org/wiki/PITS/00634 > > How about a %row ...% wikistyle, which applies > wikistyles to table rows? One advantage would > be that it would work for both normal tables and > table directives. > > ||%row bgcolor=yellow% ... || ... || > > (:cellnr:) %row bgcolor=yellow% > (:cell:) > (:cellnr:) %row bgcolor=blue% > (:cell:) > (:cellnr:) %row bgcolor=yellow% > (:cell:)
That sounds good and seems to avoid the ambiguity of the suggested (:row:). My only grip is that it seems quite different than the current way of adding attributes to tables, would there be some way of adding consistency? %cell bgcolor=yellow% %table bgcolor=yellow% > http://www.pmwiki.org/wiki/Cookbook/FormattingTables > > http://www.pmichaud.com/pmwiki/pub/css/Cookbook.css How about making these author changeable? To start with, maybe something like: %table indexmax=2 rowclass='ind#'% %apply=tr.ind1 background-color:#ddddff% -Martin ____________________________________________________________________________________Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545469 _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
