Using the style helper to set margins automatically