Blephartis, inflammation and scaling of the lid margins, is often linked to dandruff. If you do have dandruff, using an antifungal shampoo may help clear up both conditions. Using an unperfumed moisturising cream on your eyelids may also help. If the condition does not improve, your doctor may prescribe a corticosteroid eye ointment.