Could you please explain to me how adding display:inline-block
to the parent element influences on its' children, when they are already floated?
As you can see in the jsfiddle example, containing element dosen't seems to see its' floated chidren (as far as I know, this is normal effect of floating). But when you add display:inline-block
to containing element, its' border becomes visible around floated elements. Does this brings them back to the normal flow of the document? How does it effects on elements positioning?