Force Column Width in a table

Discussion in 'HTML' started by Scott, Apr 30, 2005.

  1. Scott

    Scott Guest

    I have to display a lot of data in a table, it ends up being about 20 columns
    and the user has to scroll to view the entire table. This is exactly what I
    want, but for some columns I want to force the width to a specific width. I have
    been experimenting with the first column in the table. If I set the width to
    500px it works by itself, but when I add the other 19 columns it ends up the
    width of the text in the column. Anyway to avoid this and keep the column at
    500px?

    Thanks!
    Scott
     
    Scott, Apr 30, 2005
    #1
    1. Advertisements

  2. Scott

    Toby Inkster Guest

    Toby Inkster, Apr 30, 2005
    #2
    1. Advertisements

  3. Scott

    Scott Guest

    Scott, May 1, 2005
    #3
    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. AndrewF
    Replies:
    1
    Views:
    1,018
    Bruce Barker
    Oct 10, 2005
  2. savvy
    Replies:
    1
    Views:
    603
    savvy
    Jan 18, 2006
  3. Sean Jorden
    Replies:
    1
    Views:
    734
    laurie
    Aug 19, 2003
  4. Cal
    Replies:
    1
    Views:
    667
    Tim B
    Jan 8, 2007
  5. ssk
    Replies:
    5
    Views:
    6,323
    Jukka K. Korpela
    Oct 30, 2006
  6. David Basford
    Replies:
    3
    Views:
    2,925
    BootNic
    Sep 30, 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:
    447
    Eliyahu Goldin
    Oct 24, 2004
  8. David

    force column width in a table?

    David, Jul 4, 2003, in forum: Javascript
    Replies:
    2
    Views:
    247
    David
    Jul 4, 2003
Loading...