<table> Need Flexible Center Column Only

Discussion in 'HTML' started by richardv2, Jul 9, 2005.

  1. richardv2

    richardv2 Guest

    In a 3-column layout, I want the right and left columns FIXED at
    160-200px and I want the center column to expand to fill the "rest" of
    the 100% of the screen, depending on resolution setting on each user's
    machine.

    I thought


    <td width="160">... <td width="100%"... <td width="200"...

    would do it but it doesn't.

    Help please.
     
    richardv2, Jul 9, 2005
    #1
    1. Advertising

  2. richardv2

    richardv2 Guest

    Forgot to include px in 160 and 200 above
     
    richardv2, Jul 9, 2005
    #2
    1. Advertising

  3. richardv2

    boclair Guest

    richardv2 wrote:
    > In a 3-column layout, I want the right and left columns FIXED at
    > 160-200px and I want the center column to expand to fill the "rest" of
    > the 100% of the screen, depending on resolution setting on each user's
    > machine.
    >
    > I thought
    >
    >
    > <td width="160">... <td width="100%"... <td width="200"...
    >
    > would do it but it doesn't.
    >




    HTML attributes infer the px size unit.

    Remove the width attribute from the second td. Set the table width,
    even if it is 100%.

    Louise
     
    boclair, Jul 9, 2005
    #3
  4. richardv2

    richardv2 Guest

    THANK YOU!!! That worked great!
    I already had table width="100%"
     
    richardv2, Jul 9, 2005
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. savvy
    Replies:
    1
    Views:
    478
    savvy
    Jan 18, 2006
  2. Sean Aitken
    Replies:
    1
    Views:
    278
  3. crispy
    Replies:
    6
    Views:
    486
    crispy
    Jul 4, 2003
  4. crispy
    Replies:
    0
    Views:
    398
    crispy
    Jul 4, 2003
  5. Cirene
    Replies:
    0
    Views:
    445
    Cirene
    May 12, 2008
Loading...

Share This Page