【发布时间】:2018-08-01 22:32:51
【问题描述】:
我在<head> 标签之间插入以下内容:
<link rel="stylesheet" type="css/stylesheet" href="fileadmin/css/konsensusempfehlung.css">
此样式表确实会影响我在 Firefox 中的 HTML 代码。 但是在 IE11 中却没有。
konsensusempfehlung.css:
tr.hauptzeile {
background-color: #FFFFFF;
text-align: left;
}
tr.tr-even{
background-color: #edf7f9;
}
th {
padding: 0.5em;
}
td.td-0 {
font-weight: bold;
}
td {
padding: 0.5em;
}
.table-scrollable {
width: 100%;
overflow-y: auto;
margin: 0 0 1em;
}
.table-scrollable::-webkit-scrollbar {
-webkit-appearance: none;
width: 14px;
height: 14px;
}
.table-scrollable::-webkit-scrollbar-thumb {
border-radius: 8px;
border: 3px solid #fff;
background-color: rgba(0, 0, 0, .3);
}
我该如何解决这个问题?
【问题讨论】:
-
如果您收到一条消息说您的问题似乎主要是代码并且需要更多详细信息……请尝试提供更多详细信息,而不是将错误消息复制/粘贴到问题中六次。
-
但这只是一个门槛,在这种情况下,问题已经用几句话完全描述了
-
在浏览器的开发者控制台中查看资源。如果您的样式表根本没有出现,则您的
link标签是错误的。如果它只显示 404,则您的href路径是错误的。