When the cohesive forces between liquid molecules are greater than the adhesive forces between the liquid and the walls of the container, the surface of the liquid is convex.