Posted by Nije Nego on 04/22/06 21:37
On 22 Apr 2006 05:36:09 -0700, Markus.Baerlocher@lau-net.de wrote:
> 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>
>
> Thanks,
> Markus
Sum of your tables + borders + padding is larger than 100%.
> <td style="passing:1.5em; >
Browsers will not understand this.
--
maybe later
[Back to original message]
|