ciao
Al div "contenitore", oltre ad height:auto mettici anche un overflow:hidden