American and Mexican soldiers skirmished across much of northern Mexico, but the major battles took place between the Rio Grande and Mexico City.