You are here: Floating issue « HTML « IT news, forums, messages
Floating issue

Posted by mizzchief on 11/10/86 12:00

I have 3 sections of text that need to be aligned one section to the
left, one section in the center, and one section to the right- all on
the same row, like this:
_________________________________________
|
|
| left text center text right text |
|________________________________________|
| | | | | | | |
| |
| | | | | | | |
| |


what I thought would work but didn't:

<table cellpadding="0" cellspacing="0" width="100%"
style="border:solid; border-width:2pt; border-color:#000000;
border-solid:#000000;">

<div style="float:left;">
<tr>
<td colspan="15" style="font-size:10.5pt;">
<b><p>left text</p></b>
</td>
</tr>
</div>

<div style="float:center;">
<tr>
<td colspan="15" style="font-size:10.5pt;">
<b><p>center text</p></b>
</td>
</tr>
</div>

<div style="float:right;">
<tr>
<td colspan="15" style="font-size:10.5pt;">
<b><p>right text</p></b>
</td>
</tr>
</div>

also, putting the divs around the "td"'s instead of the "tr"'s also
didn't work.

 

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

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