Tags:
create new tag
, view all tags

Question

Is there a way to make all tables that are created with TML set to width="100%" ?

Example

For example, this table is not set to width="100%" and I can't figure out how to make it so ?

Short Example Width
Definitely Not 100%

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Deployment

-- KeithHelfrich - 25 Aug 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

Simplest thing I can think of - use css.

-- SvenDowideit - 26 Aug 2007

As Sven says, but with the recipe: use in the css of your site:

<style type='text/css'> .twikiTable {width:100%}</style>

Note that you also can add it in the page itself, as I have done here

-- ColasNahaboo - 26 Aug 2007

The documented way is to use a TablePlugin setting: %TABLE{ tablewidth="100%" }%

-- PeterThoeny - 27 Aug 2007

 
Change status to:
Topic revision: r4 - 2007-08-27 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.