Maryland Governor Martin O'Malley signed a law that would award the state's electoral votes to the winner of the national popular vote. As long as others agree to do the same. "Actually, Maryland will drop out only if a lot of other states do, too. Maryland's new law will go into effect only if enough states pass similar laws to total 270 electoral votes -- the number needed to elect a President," O'Malley said.
Those states would agree to appoint presidential electors who would vote for the winner of the national popular vote, no matter who wins the vote in each state. It would be a way to turn presidential elections into a nationwide popular vote without having to amend the Constitution.
That's the solution. What's the problem?
The problem is what happened in 2000. George W. Bush got elected by winning the electoral college, even though Al Gore got more votes. That's happened four times in the country's history.