Re: Text wrapped around a picture -- picture longer than text
On 2008-04-27, Jukka K. Korpela <jkorpela@cs.tut.fi> wrote:
[...]
> The <div> markup only means a block. When the end tag </div> is
> encountered, a line break is generated
Loosely speaking I suppose this is OK, but </div>'s effect on text is
more like a paragraph separator than a line break.
[...]
> Tables have their own rendering rules, including the fact that flow does
> not continue from one cell to another. I think there's nothing in the
> specifications that says this explicitly, but this is clearly the intent
> and it's how browsers work.
The CSS spec says that a table cell is a "block formatting context".
This means that the flow inside the table cell is not affected by any
floats originating outside it, and also that no floats originating
inside a table cell affect the flow of anything outside it.
|