Having the HTML below
&l
if you want to have the desired effect you can use "padding" instead, margins always collapse