You are here: Re: another nested divs problem « HTML « IT news, forums, messages
Re: another nested divs problem

Posted by Jonathan N. Little on 03/24/06 04:01

Guybrush Threepwood wrote:
> On Thu, 23 Mar 2006 11:51:00 -0700, Jim Moe wrote:
>
>> julian_m wrote:
>>> <div id="container">
>>> <div id="left"></div>
>>> <div id="mid"></div>
>>> <div id="right"></div>
>>> </div>
>>>
>> The sequence is incorrect. Place "right" after "left", then "mld".
>>
> I have to admit I don't understand the logic of this. Could you explain?
>

The 'mid' div is the only one position relative so you want it's content
'squeeze' into shape by the two floated div's. That way all three
div's with be aligned at the top. If layout as Julian had 'left' and
'mid' would be aligned at the top but 'right' would float to the right
*after* mid's content.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

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

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