admin 发布于 2024-01-25 22:39:38 IP属地湖北省 html - 表格不会打印背景或字体颜色 最佳答案 看起来 Bootstrap 包含使背景透明的代码。尝试将 !important 添加到您的背景颜色声明中,看看是否对您有帮助。 编辑: 例如,如果您声明它的背景: th{background:#HEX} 然后将其切换为: th{background:#HEX !important} 前端 浏览 (124) 点赞 收藏