If you are close enough to a block that it is outlined (so you can mine it or place blocks on it), you cannot place a lily pad on top of it (even with water on top).