Swelling of the legs can happen in a variety of disorders, viz., heart failure, malnutrition, venous thrombosis of the leg and also in liver disorders. In conditions causing liver malfunction, liver becomes unable to handle protein metabolism adequately. This leads to low albumin in the blood, which in turn lowers the hydrostatic pressure in the blood vessels and consequently the fluid escapes to the tissues causing swelling in the dependant parts of the body, mostly ankles and legs. Take your physician’s advice.