replace margin with padding for main area