Results 1 to 2 of 2

Thread: Table cell width...

  1. #1

    Thread Starter
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091

    Table cell width...

    In the attached html, the first column of the table is much wider than necessary. Is there any way, with CSS preferably, to keep it only as wide as the longest piece of data in the column?

    I've tried a couple of things with the width, but it always ended up just as long as it is, or the data in the first column is wrapped to multiple lines. I'd like to keep everything on a single line if possible.

    Attached Files Attached Files
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  2. #2
    Lively Member
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    96
    add to the .headerCell

    width : 25%;

    or what you like it to be
    http://www.raketje.com coming..............soon................

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width