Nadogail, as for drilling studs I've seen wires ran when you drill through the 2" direction of the stud but not the 4" direction. Compared to the picture the light is mounted centered where the black wire goes through the stack of studs.
For mounting a box, are you saying to recess a pancake...
I have a motion sensing flood light mounted on the outside of my garage that I'm thinking is wired wrong. It looks like it's hardwired to an extension cord that is drilled through a stud and plugged in with the garage door opener. I'm finishing the inside of my garage with tin and I'd rather...