W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2006

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

From: Stanimir Stamenkov <stanio@myrealbox.com>
Date: Mon, 23 Oct 2006 21:05:04 +0300
Message-ID: <453D0450.9080909@myrealbox.com>
To: "www-amaya.w3.org" <www-amaya@w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:52 UTC