you can hang them using 2-3 heavy bungie cords hanging from hooks. did it that way for years before moving to digital ballasts. stops the vibration (noise) from running up through the floor. you can do the same thing with a small like 1'x2'x1/2" shelf and put eyelets on the corners, hang it from bungies. that's how i do small exhaust fans too. if you mount it up between floor studs you have to insulate above them else you get a mild hot spot on the floor above, and the ballast is much louder from its echoing in the stud cavity. hope that makes sense...
my logic the more you can mount high in the room (or out of the room) the less you risk getting wet. the only thing in a grow that doesn't mind getting wet is the plants and my toes... heh...