使用范围报告版本 4,
报告中有规定添加自定义css,
寻找正确的语法,通过尝试这两个它不适用:
htmlReport.Config.CSS = "<styles> <![CDATA[ .black-text { color: #fff !important; } ]]> </ styles>";
htmlReport.Config.CSS = "<styles> .black-text { color: #fff !important; } </ styles>";
使用范围报告版本 4,
报告中有规定添加自定义css,
寻找正确的语法,通过尝试这两个它不适用:
htmlReport.Config.CSS = "<styles> <![CDATA[ .black-text { color: #fff !important; } ]]> </ styles>";
htmlReport.Config.CSS = "<styles> .black-text { color: #fff !important; } </ styles>";