以上对李的回答进行了拓展。我遇到了同样的问题,所以我采纳了他的建议,并检查了我在美乐家中制作的自定义主题。 它已经有了如下 -
/* Buttons
-----------------------------------------------------------------------------------------------------------*/
.ui-btn,
label.ui-btn {
font-weight: bold;
border-width: 1px;
border-style: solid;
}
.ui-btn:link {
text-decoration: none !important;
但我是越来越下划线所以我加了文字修饰:无重要;!到我的全局字体部分 -
/* Globals */
/* Font
-----------------------------------------------------------------------------------------------------------*/
html {
font-size: 100%;
}
body,
input,
select,
textarea,
button,
.ui-btn {
font-size: 1em;
line-height: 1.3;
font-family: sans-serif /*{global-font-family}*/;
text-decoration: none !important;
这样就停止了下划线。
我使用(p.levelDescA {text-decoration:none;}但它仍然有下划线。需要从指定的容器开始? –
从该选择器判断,您试图从'p'标签,超链接自动为'a'标签分配一个下划线try#contentA.contentbox a {text-decoration:none;}' – Andy