Eight-time batting champion Tony Gwynn and two-time most valuable player Cal Ripken Jr. were elected to baseball's hall of fame Tuesday.Four-time home run champion Mark McGwire, who ranks seventh on the all-time home run list but declined to testify before Congress about alleged steroid use, wasn't elected. Candidates must be named on 75% of ballots cast to gain entry into the National Baseball Hall of Fame in Cooperstown, N.Y. Ripken got 99% and Gwynn 98%. Of the 15 players other than Gwynn and Ripken on the ballot for the first time, only two received sufficient support to remain in consideration, McGwire and former White Sox star Harold Baines. Players must be listed on 5% of the ballots to stay on the ballot for up to 15 years. McGwire had 23.5% and Baines 5.3%.