i usually use duct tape to cover cracks in the frames, if you are looking to make it light proof in between the door and frame i would use weather striping, this is like a thin strip of foam you put around the frame were the door will be meeting with it