Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PC端:IE表格边框消失 #29

Open
smileyby opened this issue May 25, 2021 · 0 comments
Open

PC端:IE表格边框消失 #29

smileyby opened this issue May 25, 2021 · 0 comments
Labels
兼容 🔯 兼容问题

Comments

@smileyby
Copy link
Owner

.table-box {
margin-top: 30px;
clear: both;
width: 100%;
box-sizing: border-box;
text-align: center;
border: 1px solid #e0e0e0;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
th,td{
border: 1px solid red;
}

版本号 版本名 更新时间 操作
暂无数据
上述代码在IE下打开,无数据的情况下,标题的边框会消失 解决办法:给table添加 border-collapse: collapse; css属性

table {
border-collapse: collapse;
]

@smileyby smileyby added the 兼容 🔯 兼容问题 label May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
兼容 🔯 兼容问题
Projects
None yet
Development

No branches or pull requests

1 participant