You mean you have black bars at the sides or what?
Thats your graphics card or monitor settings. If you change it, the graphics will probably be stretched instead, which looks ugly. D2 has no wide-screen support, so that's what's causing it.
It's probably best to stick with it.