how i make 2 html tables with out them being together?

i wanna kno how i can put space between the tables i make? .like have one on the right and one on the left? i can't figuer out how to move 1 with them being togetha?

Public Comments

  1. Add this to your 1st table's tag: <table style="float:left;width:200px;margin-right: 30px;"> Change the widths and margin at your own will.
  2. try to make a blank table between the two,to make it apart,or best you can use <div>.
  3. each table tag in ur html is a separate table so if u have 2 opening table tag and 2 closing table tag then u have 2 tables <table width="20%" align="left" style="float:left;"> this is table 1 </table> <table width="20%" align="right"> this is table 2 </table>
  4. KISS! No need for anything but bog standard HTML 4.0 ! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title> New Document </title> <meta name="Generator" content="EditPlus"> <meta name="Author" content=""> <meta name="Keywords" content=""> <meta name="Description" content=""> </head> <body> <table width="100%"align="center"><!-- outer table --> <tr> <td colspan="3"> <!-- stuff in here spans the 3 cols - 2 tables and the spacer col --> </td> <td><table width="40%"align="center"> <td>Table Left</td> <!-- left table --> </table></td> <td><table width="50"align="center"> <td>Table Spacer</td> <!-- space --> </table></td> <td><table width="40%"align="center"> <td>Table Right</td> <!-- right table --> </table></td> </tr> </table> </body> change what you want to insert text, size of separator space, size of either table, etc, put in align left, right, statements for the two tables, etc. You can substitute anything appropriate (such as no table, but just <td></td>) other than a table for the spacer one.
Powered by Yahoo! Answers