Well if you aren't worried about Netscape 4 then its real easy to fix this problem with CSS.

  1. Don't use tables! Use <div> tags instead.
  2. Assign each column an ID
  3. Set the position for each column on the id (you'll probably need position:absolute; use top and left to put it on the page where you want it)</code>
  4. Make a class that you can specify for each column. Set the width you want the columns to be (can be a percentage as well) and set the height to 'auto' and the div will grow with your content going down the page.

There are some other tricks like setting your divs to scroll if there is too much content. Have a look at http://w3schools.org/ for some examples and other parameters.

Update 2003-06-10: I was asked to provide an example which can be found here. The example was tested with Mozilla, Konqueror, IE 5.5 and Opera 7. The only problem I found was that Konqueror doesn't properly recognize the scroll property. Enjoy. (P.S. code on that page is free for anyone to use/modify/whatever)

Lobster Aliens Are attacking the world!

In reply to Re: (OT) Use javascript? ahhh!!! by cfreak
in thread (OT) Use javascript? ahhh!!! by yosefm

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.