To zoom in on Left 4 Dead, press the scroll button on your mouse, the one you can click by pushing the wheel down.
On weapons with a scope or zoom function, that click toggles the zoomed-in view. It's a handy way to line up distant shots, so get comfortable reaching for that middle mouse button during play.