You are here: DIV question « HTML « IT news, forums, messages
DIV question

Posted by plenty900 on 01/31/08 00:51

Hi folks,

I've got some HTML like this:

<DIV>
<DIV style="float: left; width: 40"> text </DIV>
<DIV style="float: left; width: 40"> text </DIV>
<DIV style="float: left; width: 40"> text </DIV>
</DIV>
<DIV>
<DIV style="float: left; width: 40"> text </DIV>
<DIV style="float: left; width: 40"> text </DIV>
<DIV style="float: left; width: 40"> text </DIV>
</DIV>

I'm finding that the second outer DIV is appearing
to the right of the first outer DIV.

My intention is to have the 2nd outer DIV
appear below the first. I had assumed this
would happen because its position is static
by default.

Can someone explain why it behaves
the way it does?

Thanks.

 

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

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