Also remember that eating a poor diet high in salt and carbohydrates , abusing laxatives, diuretics, taking birth control or hormone replacement therapy pills, pregnancy and
PMS,kidney or <span style = 'background-color: #dae8f4'>liver</span>
pathologies, sodium retention and
neuromuscular disorders can also cause such ankle edema.
To prevent this ,restrict sodium intake in your diet,avoid prolonged standing,keep your legs elevated while sleeping and wear support socks or stockings.Also drink plenty of water.
I hope that helps.