How can scientists estimate the size of the universe if it is expanding?
By measuring the red shift of spectral lines.
The red shift of spectral lines (doppler) gives an indication of the expansion of the Universe and can be used to visualize the state of the Universe, (i.e. it's expansion). Red color indicates a longer wavelength and hence expansion.