converted margins and padding