set offsets to use margin instead of padding