r2 - 31 Aug 2007 - 05:05:43 - PeterThoenyYou are here: TWiki >  Codev Web > ChangeProposal > FeatureRequest > NoWrapInTableCells
Tags:
, create new tag

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

WhatDoesItAffect: Plugins, Rendering

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

 
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo