Problem with tables

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chrille112
    New Member
    • Oct 2005
    • 2

    #1

    Problem with tables

    Hi!

    I have a problem. I have a table with dynamic content like this:

    colum 1 | column 2
    blah | data

    The table should be 100% wide. My problem is that I want the first cell to be just as wide as its contents (as if I would have left the width blank), but I also want the whole table to be 100% wide. I can't set the width of the cell since it's contents is dynamic, and have various length.

    Hope you guys understand me?

    Any help would be greatly appreciated!
  • Niheel
    Recognized Expert Moderator Top Contributor
    • Jul 2005
    • 2433

    #2
    Set the width of the table to 100%. Leave the left column width blank(no width). On the right column use a static width(for example: 150px). Do not use % on the right column.

    I hope that was the answer you are looking for. Otherwise you can also try to paste the HTML code in here, make sure you use the code tag's when submitting code.
    niheel @ bytes

    Comment

    Working...