Just off the top of my head, I changed it to id rather than class and it worked for me in a little test file. I don't see any errors in the css. Post the entire HTML.
...and gladly would he learn and gladly teach
for humor and the unique Bush/Obama Approval Polls