Remove paddings and margins in a more considered manner