yangzailu

导航

html初始化页面和a标签无下划线

body, div, p, h1, h2, h3, h4, h5, h6, ul, ol, li, dl, dd, dt, img, form { padding:0px; margin:0px; border:0; font-size:14px; } h1, h2, h3, h4, h5, h6 { font-size:14px; font-weight:100; margin-top:0px !important; margin-bottom:0px !important;}
  ul li {list-style:none;}
a{text-decoration:none;}
a:link,a:visited{
 text-decoration:none;  /*超链接无下划线*/
}
a:hover{
 text-decoration:underline;  /*鼠标放上去有下划线*/
}

 

posted on 2016-08-31 17:00  飞离地平线  阅读(1852)  评论(2编辑  收藏  举报