Static Critical Phenomena in Inhomogeneous Systems