Cooling a small-form-factor build

How to pick a cooler that fits a mini-ITX case's height limit while still rating for the CPU's TDP.