support shortening margins and paddings