matching the css name to view name