Using synchrotron x-ray diffraction, we have determined the ensemble-averaged density profile of colloidal fluids within confining channels of different widths. We observe an oscillatory ordering-disordering behavior of the colloidal particles as a function of the channel width, while the colloidal solution remains in the liquid state. This phenomenon has been suggested by surface force studies of hard-sphere fluids and also theoretically predicted, but here we see it by direct measurements of the structure for comparable systems.