Howard Wolowitz does not actually float. As an astronaut, he experiences microgravity in space, but the show uses:
Comedic "floating" gags are just that—gags. No anti-gravity on set.