NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item9693 for docu changes for 1.2 and 2.0.

Item8270: Attribute cellspacing not supported

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Extension TablePlugin  
The %TABLE% attribute cellspacing is not implemented properly in TablePlugin (1.041, $Rev: 4760 (2009-09-03) $). Adding the option cellspacing to a table definition does not change the look of the table. The attribute cellpadding, however, works as expected (see below).

Note: cellspacing used to work on TWiki where cellpadding was broken.

Table 1

no padding or spacing
%TABLE{ tableborder="5" databg="#FFFF99, #FFCC99"}%
1 2
3 4

Table 2

cellspacing="20"
%TABLE{ tableborder="5" cellspacing="20" databg="#FFFF99, #FFCC99"}%
1 2
3 4

Table 3

cellpadding="20"
%TABLE{ tableborder="5" cellpadding="20"  databg="#FFFF99, #FFCC99"}%
1 2
3 4

-- MartinKaufmann - 10 Sep 2009

I can see the cellspacing attribute is written, but because it is overridden by css not shown. Then TablePlugin actually should create a css style for this table, which it doesn't.

-- ArthurClemens - 10 Sep 2009

Solved with Item2039.

-- ArthurClemens - 12 Sep 2009

ItemTemplate edit

Summary Attribute cellspacing not supported
ReportedBy Foswiki:Main.MartinKaufmann
Codebase 1.0.6
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component TablePlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r6 - 04 Oct 2010, KennethLavrsen
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads