We present a new method to prepare quartz slides with a wettability gradient by confining a concentration gradient of dichlorodimethyl silane, the hydrophobation agent, in a density gradient formed by mixing diiodomethane and trichloroethylane. The gradients were characterized by means of contact angle measurements using the Wilhelmy plate technique and by the adsorption of human lysozyme, IgG or fibrinogen as measured by total internal reflectans fluorescence (TIRF) spectroscopy.