|  | Posted by Neredbojias on 04/22/06 16:46 
To further the education of mankind, Markus.Baerlocher@lau-net.de vouchsafed:
 
 > Hi,
 >
 > i would like to make a I 2-column-layout with <table>.
 >
 > How do i make a space between the two "columns"?
 >
 > <table style="width:100%; border:1px solid #003399; ">
 >     <tr>
 >         <td>
 >          <table style="width:46%; border:1px solid #003399;  ">
 >                 <tr>
 >               <td style="padding:1.5em; >
 >                         <p>content left</p>
 >                     </td>
 >                 </tr>
 >           <tr>
 >               <td style="padding:1.5em; >
 >                         <p>content left</p>
 >                     </td>
 >                 </tr>
 >             </table>
 > <!-- space 8% - how? -->
 >          <table style="width:46%; border:1px solid #003399;  ">
 >                 <tr>
 >               <td style="padding:1.5em; >
 >                         <p>content right</p>
 >                     </td>
 >                 </tr>
 >           <tr>
 >               <td style="passing:1.5em; >
 >                         <p>content right</p>
 >                     </td>
 >                 </tr>
 >             </table>
 >         </td>
 >     </tr>
 > </table>
 
 Enclosed both tables in a <div>, float one left, the other right.
 
 --
 Neredbojias
 Infinity has its limits.
  Navigation: [Reply to this message] |