You are here: Re: 2 tables horizontally « HTML « IT news, forums, messages
Re: 2 tables horizontally

Posted by Dylan Parry on 02/14/06 12:02

Pondering the eternal question of "Hobnobs or Rich Tea?", Tony WONG
finally proclaimed:

> apart from 2 frames, is it possible to have 2 tables horizontally? thx.

<table id="table1">
....
</table>
<table id="table2">
....
</table>
<br class="clear">

Then...

#table1 {
width: 50%;
float: left;
}

#table2 {
width: 50%;
}

..clear {
clear: both;
}

In your stylesheet. Tweak the widths as necessary. The break is simply
to cause the rest of the document to flow properly, but probably isn't
needed in this case anyway.

--
Dylan Parry
http://electricfreedom.org -- Where the Music Progressively Rocks!

 

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

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