A monodisperse 1D colloidal array is prepared from monomer directly combining precipitation polymerization and confinement effects.