The meniscus of mercury in a glass capillary tube is convex because of its high cohesion property where mercury stick together rather than spread to the tube compared to the water. The cohesive force is mutually attractive to each other, resulting to electrostatic repulsion to the tube. Moreover, Mercury creates a solid-like state due to surface tension and low adhesion to the tube.