Another factor often blamed for bone thinning is caffeine because it also increases calcium loss in the urine. However the calcium loss is small. The caffeine in a typical cup of coffee will result in the loss of about 2-3 milligrams of calcium. Half a tablespoon of milk in a cup of coffee will make up for this loss. A latte will put you well ahead in calcium.
Bones are more than just calcium and protein.
For example, magnesium is found in bones in significant amounts and it is thought that an adequate intake of this mineral is important for bone health. Foods high in magnesium include beans, whole grains, nuts, and green leafy vegetables. Vitamin K is also important for bone health since some of the proteins in bone are dependent on this vitamin for formation. Green vegetables are especially high in vitamin K. Nondietary factors that increase thinning of bones are some medications like the aluminum-based antacids, excessive alcohol consumption and smoking. Regular exercise helps to maintain healthy bones.