Css Safari忽略文本:装饰:下划线;
我无法让underline在safari中工作,它似乎选择了underline none的默认链接样式,而不是下面的css 你知道这是什么原因吗Css Safari忽略文本:装饰:下划线;,css,safari,underline,text-decorations,Css,Safari,Underline,Text Decorations,我无法让underline在safari中工作,它似乎选择了underline none的默认链接样式,而不是下面的css 你知道这是什么原因吗 div.header .container .accountPannel .top a.alias { color:#fff; font-size:10px; float:left; text-decoration:underline !important; max-width:108px; overflow:hidden;} 提前感谢。我在这里假设
div.header .container .accountPannel .top a.alias { color:#fff; font-size:10px; float:left; text-decoration:underline !important; max-width:108px; overflow:hidden;}
提前感谢。我在这里假设您为Safari制作了一个用户样式表,可以关闭链接的下划线,因为Safari没有这些下划线的程序设置 所以,可能发生的是你
text-decoration: none !important;
在您的用户样式表中。用户样式表总是覆盖文档样式表。所以不管你把
!重要信息
无论是否在文档中,用户样式始终有效
解决方案:编辑您的用户样式表,使其易于阅读
text-decoration: none;
然后它可以被文档样式覆盖。装饰不会传播到浮动或绝对定位的子体,或子体内联表或内联块。需要更多信息。唯一能从中得到的可能是隐藏下划线的溢出。