In my game, there's actually a one pixel gap in between the player and the ground. To fix that, I just made the graphical display of the platforms one pixel wider than they should be.
Flawless. Absolutely flawless.