I need two consecutive div elements (with backgrounds) to be touching seamlessly, one below the other. However, this layout breaks when I put a child p
div
p
Add overflow: hidden or overflow: auto to the div
overflow: hidden
overflow: auto