Reply to Re: Nested div display problem with IE and Firefox.

Your name:

Reply:


Posted by fred.haab@gmail.com on 06/13/06 23:10

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>

The outer div is the parent, not simply some other box that was created
before or after.

[Back to original 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

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