-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Table th and td has invisible border when rowspan is set #14190
Comments
Confirm. The same problem! |
My temporary solution until fix in coming versions will be adding a pseudo element for the rowspan. |
This temporary solution does not work for me on phantom 2.1.1 |
@pavoldobrucky you have to remove the comments. They are not CSS syntax so the last 4 lines get ignored. |
@abisz is it ok now? I didn't test it. |
Workaround worked here, thanks a lot! |
Thank you for your help. |
Thanks @alextsoi I encountered the same issue using PhantomJS version 2.1.1, where a |
@alextsoi , Thank you very much. .table-cell { .table-cell:before { |
Hi everyone ! Try this code css :
|
What a landmine. Love this project though! Here's a modified version of @AnthonyBSDE 's code that worked for me:
|
Due to our very limited maintenance capacity, we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed (see #15395 for more details). In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution! |
I'm using PhantomJS 2.1.1 and have problem when rendering table in PDF format.
If table has two or more
th
ortd
elements withrowspan
set to2
or higher - border between these elements is not visible disregarding CSS styles. The problem occurs only if cells has the samerowspan
greater than1
and these cells are located one after another.Here are two examples:
Example 1 -
th
borders rendered incorrectly (border is invisible):`
Example 2 -
th
borders rendered correctly:`
<th rowspan="1">Album
I've attached two files with rendered PDF files for example 1 and 2.
example1.pdf
example2.pdf
The text was updated successfully, but these errors were encountered: