Results due to Birkhoff and Kaplansky for compact spaces are generalized to any topological spaces. The results concern lattices of continuous real-valued functions.