Using python to send an email with HTML content. The email is properly sent but the negative margins are not recognized. Is there a way to convert this code so that it does not use negative margins and is still acceptable in most email readers?
<div style="width:40;">
<img style="height:100px;" src="cid:{msg_image}" alt="LogoHeader" />
<hr style="width:100%;margin-top:-30px;" />
</div>
question from:https://stackoverflow.com/questions/65600354/negative-margins-in-email