2 tables beside eachother.. how?

Discussion in 'HTML & Website Design' started by KeyboardHustler, Jul 7, 2007.

  1. #1
    Hey, How to create 2 tables beside eachother? for me it's not working

    Help me out please :)
     
    KeyboardHustler, Jul 7, 2007 IP
  2. NITRO23456

    NITRO23456 Well-Known Member

    Messages:
    516
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    110
    #2
    why don't you just use two columns?
     
    NITRO23456, Jul 7, 2007 IP
  3. KeyboardHustler

    KeyboardHustler Well-Known Member

    Messages:
    1,087
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    145
    #3
    Because that table has 10 rows and i only want one big area on the other side :)
     
    KeyboardHustler, Jul 7, 2007 IP
  4. madarcu

    madarcu Peon

    Messages:
    48
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    you could add the second table into the second table and make a rowspan=10 on that column.
     
    madarcu, Jul 7, 2007 IP
  5. NITRO23456

    NITRO23456 Well-Known Member

    Messages:
    516
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    110
    #5
    or you could make a 2x10 table and merge the cells in the second column.
     
    NITRO23456, Jul 7, 2007 IP
  6. MrX

    MrX Well-Known Member

    Messages:
    1,563
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    140
    #6
    Simple. Make a container table with two columns, 50%, and then stick each of your tables in a column.
     
    MrX, Jul 7, 2007 IP
  7. NITRO23456

    NITRO23456 Well-Known Member

    Messages:
    516
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    110
    #7
    Here is the code:

    
    <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#000000" width="400">
        <tr>
          <td>&nbsp;</td>
          <td width="50%" rowspan="10">&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
        </tr>
      </table>
    Code (markup):
     
    NITRO23456, Jul 7, 2007 IP
  8. sawz

    sawz Prominent Member

    Messages:
    8,225
    Likes Received:
    808
    Best Answers:
    0
    Trophy Points:
    360
    #8
    yup, thats what i would do.:D

    tables within tables.
     
    sawz, Jul 7, 2007 IP
  9. jawanda

    jawanda Peon

    Messages:
    151
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #9
    This is the best way to do what he's described, indeed.
     
    jawanda, Jul 7, 2007 IP