We prove that a compact minimal surface bounded by two closed convex curves in parallel planes close enough to each other must be topologically an annulus.