好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

部分浏览器上a标签包裹的dom元素显示不正常_html/css_WEB-ITnose

在苹果和部分安卓机上出现,pc端和chrome浏览器响应式设计里怎么样也不会出现的
访问后a标签包裹的dom元素显示不正常
a标签内的hr元素颜色显示不正常
hr水平线的颜色被 bootstrap的css的

a {  color: #428bca;  text-decoration: none;} a:hover,a:focus {  color: #2a6496;  text-decoration: underline;} 

或者被user agent stylesheet

a:-webkit-any-link {  color: -webkit-link; }a:-webkit-any-link:active{ color: -webkit-activelink} 

重写覆盖
出现的原因是因为hr的css采用了

border-top: 1px solid #xxxxx;之类的写法,设置了hr的border-color为xxx此时的dom结构为这样时    

查看更多关于部分浏览器上a标签包裹的dom元素显示不正常_html/css_WEB-ITnose的详细内容...

  阅读:33次