replace margin by pading