[pmwiki-users] styling table rows
Ben Wilson
dausha at gmail.com
Fri May 25 08:24:17 CDT 2007
On 5/24/07, Patrick R. Michaud <pmichaud at pobox.com> 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
Solution:
(:table cellspacing=0:)
The space between cells exists because browsers default to
cellspacing=1 when rendering tables even if border=0. It would almost
be preferable to have PmWiki default assign cellspacing=0 and expect
the author to explicitly set cellspacing=1. This solution works with
border=1 to create a thin lined border.
--
Ben Wilson
"Words are the only thing which will last forever" Churchill
More information about the pmwiki-users
mailing list