首页 > 代码库 > html初始化页面和a标签无下划线

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;  /*鼠标放上去有下划线*/}

 

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