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 someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is 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:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2007-08-27 - 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.