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

mac2024-10-28  14

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

 

更多专业前端知识,请上 【猿2048】www.mk2048.com
最新回复(0)