better styling of element details