Aligning multiple tables in a form

Discussion in 'HTML & Website Design' started by Philosophaie, Jan 15, 2011.

  1. #1
    I have 3 separate tables that work separately. I would like to align them next to each other:

    |||
    not
    |
    |
    |

    I have tried:

    <table float="left" width="33%">

    but was unable to get it to work. Any suggestions?
     
    Philosophaie, Jan 15, 2011 IP
  2. wwwbryan

    wwwbryan Well-Known Member

    Messages:
    181
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #2
    <table style="float: left;" width="33%">

    or you can make a three column table that has each table in a cell
     
    wwwbryan, Jan 15, 2011 IP
  3. radiant_luv

    radiant_luv Peon

    Messages:
    1,327
    Likes Received:
    34
    Best Answers:
    1
    Trophy Points:
    0
    #3
    <table style="float:left; width:33% ">
     
    Last edited: Jan 15, 2011
    radiant_luv, Jan 15, 2011 IP
  4. diondevelopment

    diondevelopment Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    3 column table with tables nested inside:

    <table width="100%">
    <tr>
    <td width="33%">

    TABLE 1

    </td>
    <td width="33%">

    TABLE 2

    </td>
    <td width="33%">

    TABLE 3

    </td>
    </tr>
    </table>
     
    diondevelopment, Jan 15, 2011 IP
  5. ReverseInternet.com

    ReverseInternet.com Peon

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Table with 3 TDs would work fine. You could also put your tables into DIVs and float them as you like. With DIVs it may be easier to change your design in the future.
     
    ReverseInternet.com, Jan 16, 2011 IP
  6. allwebactivities

    allwebactivities Peon

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    first you have to take a table that have three columns... then take table on each columns with width 33%.. that works fine...
     
    allwebactivities, Jan 16, 2011 IP