00572: drop deprecated table attributes

Summary: drop deprecated table attributes
Created: 2005-10-25 10:42
Status: Closed - replied
Category: Feature
From: floozy?
Priority: 333
Version: 2.0.12
OS: pmwiki.org

Description: I suggest dropping deprecated XHTML attributes for tables, such as "cellspacing" and "cellpadding", and have them replaced by their CSS style equivalents "margin" and "padding". I'd also like to add that control over the "border-collapse" style from table markup would be handy, to display tables with a thin border.

They are deprecated in some of the standards, but valid in others and might be used by many wikis, therefore we couldn't easily drop them. If you don't need them, just don't use them in your wiki page. Margin and padding can be used inside a style="margin:0;" parameters for both simple and advanced tables. You may find easier though, to use pre-defined class= styles for your tables. --Petko November 07, 2009, at 05:08 PM

VilleK: I also vote for supporting "border-collapse" style.

You can support it by adding yo config.php such a line:
$WikiStyleCSS[] = 'border-collapse';
--Petko November 07, 2009, at 05:08 PM