Hrm. Using your original code but removing overflow: hidden proves
just as interesting. I'm getting 4 different behaviors -- FF, Webit,
Opera and IE.
On Wed, Oct 13, 2010 at 10:39 AM, Jan Limpens wrote:
> it seems to stem from floats inside of floats and becomes only visible if
> overflow:hidde
it seems to stem from floats inside of floats and becomes only visible if
overflow:hidden, I suppose. An updated sample:
(This is already a filed bug at webkit, I just wonder how people patch this
behaviour right now...)
float & width
div {
float: left;
> This markup shows my problem:
> Webkit browsers seem to create an erroneous width on overflow:hidden
> elements inside of overflow:hidden elements, when their width is set to
> 0.
Interesting bug. But I see it differently.
Webkit creates an erroneous width for the parent, not for the element wit
Hello,
This markup shows my problem:
Webkit browsers seem to create an erroneous width on overflow:hidden
elements inside of overflow:hidden elements, when their width is set to 0.
Is there a known workaround?
overflow:hidden & width:0
div {
overflow: hidden;