[pmwiki-users] Page list format

pmwiki at 911networks.com pmwiki at 911networks.com
Mon Dec 11 11:48:38 CST 2006


Hi,

I am trying to make a pagelist in a zebra table [with each row
alternating colours]

I have zebra defined in config.php
# Zebra table
$TableRowIndexMax = 2;
$TableRowAttrFmt = "class='ind\$TableRowIndex'";

I have titledes defined in LocalTemplates:

[[#titledes]]
||class=zebra border=0 cellspacing=0 width=98% align=center
||[[{=$FullName}|+]] ||{=$Description}  ||
[[#titledesend]]

All webpages have both (:title :) and (:description :) defined.

When I do a pagelist

(:pagelist fmt=#titledes count=15 order=-time:)

In the CSS, I have:
/* zebra tables */
table.zebra tr.ind1 { background-color:#ddddff; }

They are all in blue instead of alternate blue/white, and the 2nd
column of the description does not line up.

Any suggestion?


-- 
Thanks
http://www.sqlhacks.com
The SQL knowledge base




More information about the pmwiki-users mailing list