You are here: how to show 2 separate DIV's in single row/line in html? « HTML « IT news, forums, messages
how to show 2 separate DIV's in single row/line in html?

Posted by hemant.singh on 04/23/06 13:58

Hello,
I need two separate DIV's(As i update there data separately) one
following another in same line
so I am try'g something like
<div id=123A>ABC</div>
<div id=123B>DEF</div>
But this put a \n between when it display, so I modified and tried
following
<div id=123A style="float: left; text-align: left;">ABC</div>
<div id=123B style="float: right; text-align: right;">DEF</div>

Now they are on same line, but on extreme left and right, While I want
2nd DIV to be jst followed by first div, so tht output is like
ABCDEF

Any suggestions?

 

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

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