cross is now running Foswiki 2.1.3 Beta 1. Please open a task for any issues.

Item8270: Attribute cellspacing not supported

Priority: Normal
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Extension
Component: TablePlugin
Reported By: Foswiki:Main.MartinKaufmann
Waiting For:
Last Change By: KennethLavrsen
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

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

Table 3

%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
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r6 - 04 Oct 2010, KennethLavrsen - This page was cached on 21 Jan 2017 - 03:12.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License