当a标签中放入图片的时候,通常默认图片就会有个蓝色的边框,如果我们不想要此边框,加入下面的样式:
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 0px;
border-left-width: 0px;
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
我们想按自己的想法设置a标签的颜色时,加入下面的样式:
a:link {color: #ccffff} /* 未访问的链接 */
a:visited {color: #ccffff} /* 已访问的链接 */
a:hover {color: #ccffff} /* 鼠标移动到链接上 */
a:active {color: #ccffff}