Sounds like your builder installed an "old work box" instead of a "new work box". The difference is that the new work box will be nailed to the side of a stud and the old work box will be held in place by the ears on the box.
It's perfectly leagal to install an old work box and they will hold very nicely if installed properly. You can take a look at the link below which is a picture of an old work box. You will notice that there is an "ear" on the bottom and top of the box. When the corner screws on the box are screwed in tight, these ears will be flipped up and squeeze tight the drwall between the ears and the front flange of the box.
http://doityourself.com/store/6148266.htm
It sounds like your box isn't screwed in tight enough and is hanging on the wall. Try tightening up on the corner screws on the box. If it still doesn't hold tight then perhaps the ears did not flip out and you'll need to unscrew the screws, remove the box and install a new one.
The link below will also help in showing you how these boxs work and how the ears hold them in place. Let us know if you need any further advise.
http://www.hammerzone.com/archives/e...oldworkbox.htm