Hi i am Dr Ahmed Aly
thanks for using helthcaremagic site ,
Ibuprofen is an
analgesic referred to as a nonsteroidal anti-inflammatory drug, or
NSAID , so it will remove the pain rather than the edema or the swelling , antiedematous drugs ( alpha chemotrypsin tablets or intramuscular injections) will be more effective ,you may be in a bit of concern because swelling of both legs means that the cause is a systemic cause cardiovascular or pulmonary problems ,most commonly
thrombophlebitis or DVT are the main cause so i reccommend vascular investigations on your lower limb vessels , try to ask your physician for some investigations to know exactly the main cause of the edema in both of your legs,
elevating your legs, r putting them on a pillow or even wearing long socls is helpfull,avoid salty
high cholesterol meals
Hope the above information helps you,Thanks for writing into healthcaremagic.
.healthcaremagic site doctors will be ready to assist you whenever needed .