We consider the usual
capillarity problem with the additional requirement that the capillary surface lies
above some obstacle. This involves a variational inequality instead of a boundary
value problem. We prove existence of a solution to the variational inequality
and study the boundary regularity. In particular, global C1,1-regularity is
shown for a wider class of variational inequalities with conormal boundary
condition.