簡體   English   中英

如何使用Cucumber-html-reporter在html報表中添加內聯CSS

[英]How to add inline css in html report using cucumber-html-reporter

我正在使用Cucumber-html-reporter生成html報告。 我必須通過電子郵件附件發送此報告,但是當我這樣做時,它會刪除所有CSS並顯示一個簡單的文本報告。我進行了一些研究,發現我需要為此添加內聯CSS。 有沒有什么方法可以通過Cucumber-html-reporter在報表中添加內聯CSS?

 **See if you have simple HTML elements you can simply write with "style". <div style="border:1px solid #ddd;"> This will work fine please try once adding like this. </div> 

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM