How much should you spend on a house?

How much house can you afford? Here are some general guidelines that can give you a pretty good idea: