Crack open the case and measure from the expansion slots to the hard drive cages. That is how long a graphics card it can support. Also, with a new graphics card, you may have to replace your power supply.
well you can look at the card and make sure the one you buy has side mounted plugs