cal the padding of a style