Chalazions often appear at the edge of the eyelid, farther back on the eyelid than styes. The entire eyelid rarely swells and they are usually not painful. If it is large enough, it can press on the eyeball and cause blurry vision. They are usually caused by a clogged oil gland. Chalazions, however, are not active infections.