Since none of the given answers provided a solution for me (I also stumbled across the weird margin issue when implementing an iFrame) I found this to be working fine:
marginwidth and marginheight are not valid / officially supported HTML5-tags but they work just fine in my tests...