This question applies to both mercury and alcohol thermometers. I assume the answers would be similar, but maybe not. My understanding is that the capillary in a liquid-in-glass thermometer consists of a liquid and a vacuum on the other end. However, if there is a vacuum, then wouldn't the liquid easily slide down when you turn the thermometer upside-down? That doesn't happen from what I remember (back in the old days when those were popular).
The main problem is that I feel there can be many false explanations here. For example, maybe the empty end is a partial vacuum and that pushes the liquid to one end. I don't know. Maybe the liquid has some surface tension and that prevents it from sliding down. Maybe its viscosity is very low. This site (archived link here) says,
Mercury is attracted only weakly to glass, so it doesn’t really adhere to the walls of its channel.
but I just don't know who or what to trust here. Can anyone give me an answer based on actual physics to back up?
Specific citations of values of properties and/or verifiable calculations are highly preferrable. No speculations please!