It would appear you have gotten many great answers, and you have. If you are looking to buy, the best answer always starts with a lender. Call 2 or 3 national lenders and make appointment to see exactly what you can afford. You can then start looking at what you would want, a house, a townhome or a condo.
Affordability is a relative term. The house, townhome or condo you can afford depends on known factors, the size, the age and the location. The unknown factor is balancing what you want with what you can afford in a location that makes you feel safe and close to what you need...your job, shopping, schools, etc.
Please look at this more as putting the pieces of a puzzle together that will result in a picture you can enjoy for years to come.
Best of luck to you,
Mark & Kari Shea
Shea Real Estate
Serving Greater San Diego