鼠标停在超链接时无法变成手型
HTML5代码如下:
<footer> <!-- Marking the footer section --> <div class="line"></div> <p>©Liangzhiliaoran2012</p> <!-- Change the copyright notice --> <a href="#">Contact Us</a> <a href="#">Back</a> </footer>
/* Footer styling: */footer{ margin-bottom:20px; /*内容与边界的间隙*/ text-align:center; font-size:1em;}footer p{ margin-bottom:-2.5em; position:relative; /*相对定位*/}footer a,foot a:visited{ margin: 3px 0 0; float: right; width: 70px; hight: 10px; background: #008000; /*背景颜色*/ color: black; /*字体颜色*/ -moz-border-radius: 15px; /*圆角弧度半径*/ -webkit-border-radius: 15px; border-radius: 15px; padding: 6px 8px; display: inline-block; font-family: Arial; /*文字字体*/ font-size: 12px; /*文字大小*/ font-weight: bold; /*文字粗体*/ text-shadow:0 1px 1px white; /*添加到文本的阴影效果*/ text-decoration:none; /*不加下划线*/ }footer a:hover{ cursor:hand;}