You are here: Re: Nested div display problem with IE and Firefox. « HTML « IT news, forums, messages
Re: Nested div display problem with IE and Firefox.

Posted by Jonathan N. Little on 06/14/06 02:12

fred.haab@gmail.com wrote:
> Wÿrm wrote:
>> <fred.haab@gmail.com> kirjoitti
>> viestissä:1150218077.801589.251210@u72g2000cwu.googlegroups.com...
>>
>> <snip>
>>
>>> Actually, I disagree. In all my searching online,
>> There is no need to search that much. Read the w3 specs, they tell what
>> should happen.
>>
>>
>>> I've found that this
>>> behavior is known and expected, but is not defined or "supposed" to be
>>> that way.
>> I suggest you should spend some time and read
>> http://www.w3.org/TR/CSS21/visuren.html#floats and how float is moved from
>> the normal flow.
>>
>> "Since a float is not in the flow, non-positioned block boxes created before
>> and after the float box flow vertically as if the float didn't exist.
>> However, line boxes created next to the float are shortened to make room for
>> margin box of the float."
>
> I still don't agree that this explains it away, though. The containing
> div was created before, it's true, but it's a parent container, not
> simply just another container that was created before the floated
> container.
>
> In other words, give this:
>
> <div>
> </div>
> <div class="right">
> </div>
>
> The text makes perfect sense, but in this case:
>
> <div><div class="right"></div></div>

And if DIV class right has content then make is larger than the base of
the containing DIV is SHOULD extend beyond the base of out DIV. The out
DIV is not supposed to expand to accommodate a floating element.
>
> The outer div is the parent, not simply some other box that was created
> before or after.
>


--
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

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