我有一个用TinyMCE编辑器创建的HTML表的问题。我在CSS样式表中设置了table、th和td的边框颜色:
body table {
margin-bottom: 10px;
border-color: #eeeeee;
border-spacing: 0;
border-collapse: collapse;
}
body table th,
body table td {
border-color: #eeeeee;
}如果我在TinyMCE编辑器中设置了一个表格边框,结果如下所示:
<table border="1">
...
</table>在Firefox中,表格边框是灰色的,但在Internet Explorer中,无论我在CSS中设置什么,它都保持黑色。
有任何提示为什么此设置在IE中被忽略?
发布于 2013-11-18 17:25:33
尝尝这个,
body table {
margin-bottom: 10px;
border:1px solid #eeeeee;
border-spacing: 0;
border-collapse: collapse;
}https://stackoverflow.com/questions/20044036
复制相似问题