Extract style for edit fields