Line absorption and Cepheid pulsation