Well this is all pretty bad. All I know is that those stupid elephants have low att def (4/3). My units have higher bonuses (riflemen, cavalry) so they should be winning but are not.
Some of the combat results in Civ3 can IMO be a bit off at times

, and be very frustrating, and Elephants, like all UU`s are tough beyond their rated listing it seems.
I have found that the AI is usually reluctant to attack stacks, and will _never_ attack an Army ( 3 units ) unless it`s redlined. Use the Army to pick off single units using it`s extra movement rate or lead assaults on Cities.
In fact your entire force should pivot around the Army if your luckly enough to have one.
I try to move-fight in large stacks with a defensive unit like an archer, pikeman, rifleman set as fortified with the attack units. Sometimes this doesn`t help because the AI has the benefit of picking which unit in the stack it will hit, but I have noticed that it seems to cut back on their attacking the whole stack.
Past all that stuff, you don`t usually need to attack cities on hills, which can bleed even a more advanced Army if fortified as the the AI will often do with size 2 cities. If there is a Barracks in there and your failed attacks have raised an AI unit, even just an archer unit to Elite rating expect to lose a lot of good, more advanced units killing him off.....obsessing on taking one City can actually lose a Game for you as the years fly by.
Depending on the Game Date and your Victory Rating it`s often better early - mid Game to try and just cripple an AI by picking off a soft target near a Lux/resource.
I`m sure more experienced Warmongers will respond to you, but it`s helpful if you list the level your playing on and what Civ. and if PTW or Conquests.