<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. Advertisements

  2. richardv2

    richardv2 Guest

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

  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. Advertisements

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. Random
    Replies:
    1
    Views:
    5,010
    Random
    Nov 19, 2004
  2. savvy
    Replies:
    1
    Views:
    626
    savvy
    Jan 18, 2006
  3. Sean Aitken
    Replies:
    1
    Views:
    367
  4. crispy
    Replies:
    6
    Views:
    661
    crispy
    Jul 4, 2003
  5. crispy
    Replies:
    0
    Views:
    490
    crispy
    Jul 4, 2003
  6. Cal
    Replies:
    1
    Views:
    681
    Tim B
    Jan 8, 2007
  7. Carl Howarth

    DG Column Width vs Table Column Width

    Carl Howarth, Oct 22, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    470
    Eliyahu Goldin
    Oct 24, 2004
  8. Tim Chase
    Replies:
    7
    Views:
    520
    Dennis Lee Bieber
    Jul 20, 2012
Loading...