'float: left' block causes previous normal flow block to extend out of the viewport boundaries

A block which has |float: left| applied causes the preceding normal 
flow block to extend out of the viewport boundaries, as much as the 
container (BODY) left margin is - see the attached example.

Interesting to note:

1. If the normal flow block has |clear: both| applied (|clear: left| 
or |clear: right| doesn't do it) it is rendered o.k.

2. If the floated block has |float: right| applied instead - it is 
rendered o.k.

-- 
Stanimir

Received on Monday, 23 October 2006 18:05:16 UTC