I think the list is very telling and allows you see a clear difference between the candidates. You can click on the bills to view details about the bill, and what it was for.
Bear in mind, the title of the bill very often is "loaded", and is can be quite the opposite of what the bills effect will be. (Help America Vote is one that comes to mind). So you should at least glance at the bill if it looks interesting to you. Links are provided.
| Bill | Voted Yes | Voted No |
| Appropriations |
| AIDS Drug Assistance Program Amendment | Barack H. Obama | John Sidney McCain |
| Disclosure of Classified Information Amendment | Barack H. Obama | John Sidney McCain |
| Special Committee on Contracts in Afghanistan and Iraq | Barack H. Obama | John Sidney McCain |
| Sugarcane Growers Funding Amendment | John Sidney McCain | Barack H. Obama |
| US Agency for International Development Amendment | John Sidney McCain | Barack H. Obama |
| Budget, Spending and Taxes |
| Budget FY2006 Appropriations Resolution | John Sidney McCain | Barack H. Obama |
| Death/EstateTax and Minimum Wage Bill of 2006 | John Sidney McCain | Barack H. Obama |
| Debt Limit Increase Resolution | John Sidney McCain | Barack H. Obama |
| Emergency Departmental Supplemental Appropriations Bill of 2007 | John Sidney McCain | Barack H. Obama |
| State Children's Health Insurance Program (CHIP) Reauthorization | Barack H. Obama | John Sidney McCain |
| Business and Consumers |
| FISA as Exclusive Means for Conducting Electronic Surveillance | Barack H. Obama | John Sidney McCain |
| Five Year Expiration for Guest Worker Program | Barack H. Obama | John Sidney McCain |
| Minimum Wage Amendment | Barack H. Obama | John Sidney McCain |
| Point Based Immigration Expiration Date | Barack H. Obama | John Sidney McCain |
| Striking Telecommunications Companies' Civil Immunity for Surveillance | Barack H. Obama | John Sidney McCain |
| Campaign Finance and Election Issues |
| Lobbying and Donation Regulations | Barack H. Obama | John Sidney McCain |
| Civil Liberties and Civil Rights |
| District of Columbia House Voting Rights Act of 2007 | Barack H. Obama | John Sidney McCain |
| English as the Common Language | Barack H. Obama | John Sidney McCain |
| Expressing Support for All Men and Women in the U.S. Armed Forces | Barack H. Obama | John Sidney McCain |
| Flag Desecration Constitutional Amendment | John Sidney McCain | Barack H. Obama |
| Habeas Corpus for Detainees of the United States | Barack H. Obama | John Sidney McCain |
| Law Enforcement Review of Z Visa Applications | John Sidney McCain | Barack H. Obama |
| Defense |
| Iraq Progress Reports Amendment | Barack H. Obama | John Sidney McCain |
| Iraq Troop Reduction | Barack H. Obama | John Sidney McCain |
| Iraq Troop Reduction Amendment | Barack H. Obama | John Sidney McCain |
| Time Between Troop Deployments | Barack H. Obama | John Sidney McCain |
| Education |
| Union Organization Bill | Barack H. Obama, Bob Barr | John Sidney McCain |
| Energy Issues |
| Gulf of Mexico Energy Security Act of 2006 | John Sidney McCain | Barack H. Obama |
| National Defense Funding Amendment | John Sidney McCain | Barack H. Obama |
| Executive Branch |
| Alberto R. Gonzales, for Attorney General | John Sidney McCain | Barack H. Obama |
| First cloture motion on John Bolton, Ambassador to UN | John Sidney McCain | Barack H. Obama |
| Janice R Brown, US Circuit Court | John Sidney McCain | Barack H. Obama |
| John Roberts, Chief Justice of the U.S. Supreme Court | John Sidney McCain | Barack H. Obama |
| Michael Hayden Confirmation | John Sidney McCain | Barack H. Obama |
| Samuel Alito, Associate Justice | John Sidney McCain | Barack H. Obama |
| William H. Pryor, Jr., US Circuit Judge | John Sidney McCain | Barack H. Obama |
| Family and Children Issues |
| Teen Pregnancy Education Amendment | Barack H. Obama | John Sidney McCain |
| Health Issues |
| Codifying the Definition of a Child Eligible for SCHIP | John Sidney McCain | Barack H. Obama |
| Immigration |
| Declaring English the National Language | John Sidney McCain | Barack H. Obama |
| Military Issues |
| Cluster Munitions Amendment | Barack H. Obama | John Sidney McCain |
| Iraq Withdrawal Amendment | John Sidney McCain | Barack H. Obama |
| Military Commissions Act of 2006 | John Sidney McCain | Barack H. Obama |
| National Security Issues |
| FEMA Amendment | Barack H. Obama | John Sidney McCain |
| National Security Amendment | Barack H. Obama, Bob Barr | John Sidney McCain |
| USA PATRIOT and Terrorism Prevention Reauthorization | John Sidney McCain | Barack H. Obama |
| Science and Medical Research |
| HOPE Stem Cell Research Act of 2007 | John Sidney McCain | Barack H. Obama |
| Senior and Social Security Issues |
| Prescription Drug Plan Amendment | Barack H. Obama | John Sidney McCain |
| Tax Rate Extension Amendment | Barack H. Obama | John Sidney McCain |
| Trade Issues |
| CAFTA Implementation Bill | John Sidney McCain | Barack H. Obama |
| CAFTA Implementation Bill | John Sidney McCain | Barack H. Obama |
| Transportation Issues |
| Transportation Equity Act: A Legacy for Users | Barack H. Obama, Bob Barr | John Sidney McCain |
| Veterans Issues |
| Additional Funding For Veterans Amendment | Barack H. Obama | John Sidney McCain |
| Health Care for Veterans Amendment | Barack H. Obama | John Sidney McCain |