Tech lifts market as stocks close green for third straight day