create new tag
, view all tags

Feature Proposal: Stop table cells from wrapping


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.


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%" }%


WhatDoesItAffect: Plugins, Rendering


-- Contributors: LarsBruunxHansen - 27 Aug 2007


Syntax-wise, how would you specify a width and a nowrap for a row?

-- PeterThoeny - 31 Aug 2007

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2007-08-31 - PeterThoeny
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.