문제

I try to put a border on a table for printview and in pdf file. It works in the printview of the most of browsers but when I generated a pdf which use the same css file, it doesn't work. To generate the pdf file I use PrinceXML.

Do you know how to add the borders in css for PrinceXML ?

도움이 되었습니까?

해결책

Try

table, tr, td { border: 1px solid black !important }
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top