已采纳回答 / kayzhang
第八行需要加的是display:inline-block;即要去掉a{},另外加之前显示出来的只有background和text-align,没有width和height。
2014-08-06