Feature Proposal: Stop table cells from wrapping
Motivation
Today very difficult to tell TWiki not to wrap the contents of a cell.
Description and Documentation
Currently TWiki (or is it in fact the PatternSkin?) will try to fit the columns of a table into the width of the window. This means that table cells will start wrapping and that may not be desirable.
Suggest to expand the
TablePlugin tableattribute
columwidths so that in addition to numerical values also can accept a value of "nowrap". This will result in
<td style="white-space: nowrap">
being added to the cells in question.
"nowrap" as columnwidth essentially means to tell the browser to make the column wide enough not to wrap it. It avoids having to explicitly specify a column width.
Examples
Today the following is a valid statement:
%TABLE{ columnwidths="20,400,33%" }%
Suggest also to accept the value "nowrap" for the width of a column:
%TABLE{ columnwidths="20,nowrap,33%" }%
Impact
Implementation
--
Contributors: LarsBruunxHansen - 27 Aug 2007
Discussion
Syntax-wise, how would you specify a width
and a nowrap for a row?
--
PeterThoeny - 31 Aug 2007