View items content type as css class in view template
You need to adjust the template (tpl) file that's being used to generate the markup for the Views output. I think everything you'll need as well as a bunch of related and equally important info can be found here: Mustardseed -> Views Theming