What I’ve done to simplify my life and make my autofocus only focus on what is in the direct center of my viewfinder. Looking through my Nikon, (D40) I have an indicator that looks like:

These boxes are the focus area indicators. I’ve changed the settings in the back menu (check your manual to see what menu), so that only the center square is put in focus.
I know what you are saying, “what if I don’t want the center to be in focus, what if I want something on the right or left to be in focus. I that case you put the item you want to focus on in the center brackets, press the shutter button half way down and then re-compose you image. This blog talks about some of the other features of autofocusing that I won’t rewrite here: http://www.kenrockwell.com/nikon/d80/af-settings.htm
I also noticed that sometimes the camera wouldn't focus, it just kept searching, and never finds a focus distance. The autofocus in your camera uses lines of contrast to focus. So you need to look at the edge of an object to get the camera to focus. It you are trying to focus on something all the same color, the camera won’t know how to make it sharp