You are here: Re: 2-column-layout with <table> « HTML « IT news, forums, messages
Re: 2-column-layout with <table>

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация