added overflow: hidden

used overflow: hidden to make parent identify all floating children