Liver problems can cause swelling in legs. This means that you are so toxic from consuption or not being able to process toxins, and need to be put on a high protein diet and plenty of clear, clean liquids, water. Flush out toxins. You may also need vitamin drip, so if your legs are badly swollen, it may be a good idea to get to MD or hospital and have an IV started