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

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]


Удаленная работа для программистов  •  Как заработать на 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

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