add styles for inline elements