This question already has an answer here:
Please see the attached screen shot. Notice the floor. In the top of the picture I am looking at a quick render in the viewport pressing shift+Z, In the bottom window is the render out from a "proper render." What on earth could I have done to make that happen?