While I wanted a cabinet with legs, I didn't realize that it had a bar across the back that would push the toilet out 5" from the wall.  We're going to have the legs cut off and wall mount the cabinet/shelf.