You are here: Re: DIV and DIV on different lines « HTML « IT news, forums, messages
Re: DIV and DIV on different lines

Posted by dorayme on 08/12/05 05:49

> From: "Mica Cooper" <Mica.Cooper@removethis.aisus.com> Newsgroups: alt.html
> Date: Wed, 10 Aug 2005 22:19:15 -0500 Subject: DIV and DIV on different lines
>
> How do you keep
>
> <TD><DIV align='left'>....</DIV><DIV align='right'>....</DIV></TD>
>
> from wrapping the right DIV onto a new line? It always does this.
>
> Thanks, Mica
>
Yes, that is what this construction should do. The
"align="right" bit tells the text or other content
to go to the right of the div concerned, there is
no instruction about where the div itself is. The
default with every div is new line. You can use
'float' something like what was suggested by
another poster or tables with two columns or there
may be an overall better way depending on what
your purpose is... You might also dispense with
this align construction within the diff and use
css instead to accord with better practice.

dorayme

(I am forever fiddling with wrapping, excuse me... )

 

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

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