HTMLテーブルをPDF形式に変換しようとしています。ブラウザーでテーブルを表示すると、白い線は表示されませんが、pdf にエクスポートすると、すべてのテーブル セルと行の間に白い線が表示されます。私はそれを解決するためにすべてのCSSスタイルを試しましたが、どれもうまくいきません。Winnovative HTML から PDF へのコンバーターを使用しています。誰かがこの問題を抱えているか、それを修正する方法を知っていますか?
.pricelistcontainer table {
width: 100%;
display: table;
padding: 0;
margin: 0;
font-size: 100%;
border-collapse: collapse;
/*margin-top: 25px;
margin-left: 52px;*/
border: none;
}
.pricelistcontainer table th {
border: none;
background: #000000;
vertical-align: top;
color: #ffffff;
font-family: arial,sans-serif;
/*line-height: 1.5;*/
font-weight: bold;
padding: 4px;
}
.pricelistcontainer table td {
/*line-height: 1.5;*/
border: none !important;
margin: 0;
background: #dae2eb;
vertical-align: middle;
font-family: arial,sans-serif;
padding-left: 2px;
color: #000;
padding-top: 4px;
padding-right: 4px;
padding-left: 4px;
}