Tags:
create new tag
view all tags

Question

I have a table encoded with HTML that sets the table width, plus the column widths.

When I have plenty of wording to fill a line in each column, the table goes full width. However, in my last column I have a very short-word list of wiki links. The column tightens up and the three columns do not fill out to 100%. So I have three smaller columns on top of three full-width columns in my table.

Is this a bug? Browser issue? I don't think it's my coding; I've checked that.

Thanks in advance for your help.

Environment

TWiki version: TWikiRelease04Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS: XP SP1
Web Browser:  
Categories:  

-- LisaAkari - 04 Jan 2006

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.

Each browser has a somewhat different behaviour on table table width. You can control that somwhat by specifying a width of 100% for the table and a width of 33% for each of the three columns (or whatever ratio you want). To control the width precisely I sometimes use a transparent 1x1 pixel gif streched to the desired width inside a table cell.

-- PeterThoeny - 04 Jan 2006

I have definitely set the width to 100% and each column to 33. I've checked my coding and it's correct. The only way I could get the table to stretch out was to add enough text to wrap to anything in the last column. I will try your pixel gif tip. That's a nice trick.

-- LisaAkari - 06 Jan 2006

I tried the pixel image and that was cool but the column widths still fluctuated. I finally changed the width to be 100 px instead of % and the width to 33 px and that fixed the problem.

-- LisaAkari - 07 Jan 2006

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2006-01-07 - LisaAkari
 
  • 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.