|
Posted by fred.haab@gmail.com on 06/14/06 12:04
Jonathan N. Little wrote:
> fred.haab@gmail.com wrote:
> > Who is Jennifer Niederst Robbins? She wrote the "Web Design in a
> > Nutshell" for O'Reilly. That doesn't make her a goddess of HTML, she's
> > not one of the people who wrote the spec (as far as I know), she just
> > wrote a book. However, I found in her book what I remembered.... page
> > 371, second bullet point about floats:
> >
> > "The floated element stays within the content area of its containing
> > block (the nearest block-level ancestor element). It does not cross
> > into the padding."
>
> I am sorry but it not what it says here, and they wrote the spec which I
> thinks trumps!
>
> www.w3.org/TR/CSS21/visuren.html#floats
Actually, I have read this. And, in fact, Jennifer's bullet points
were a summary of that exact reference you site.
> Scroll down a bit as I said earlier to the 3rd diagram, "A floating
> image obscures borders of block boxes it overlaps."
Again, these diagrams are not showing a parent/child relationship, they
are one after the other.
> It shows and describes the very same behavior as a floated image
> contained within the upper DIV, and the image extends beyond the base of
> its container and displaces the DIV below. It *is* the correct behavior.
> I am not making this up.
In fact, it shows nothing of the kind as far as I can tell - they don't
give you complete markup and CSS to make that determination.
Navigation:
[Reply to this message]
|