My hunch is user1359163. The answer to the questionnaire will help you, although it may be interesting for you to find out why: using float effectively removes the element from the normal document flow, which is a bit like changing the z-index , allowing the element to go through div borders, labels, spaces and ... "ignore" clear styles.
An element behaves as if it floats above other elements, therefore, in this regard, it remains free from the left and right of all other elements that do not float. I'm not a CSS expert, but this way of looking at it helped me solve problems with distorted layouts that I encountered when using the float , clear and z-index styles.
Elias van ootegem
source share