Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image output is different than the html/css when rendered in browser #78

Open
MaryJ25 opened this issue Oct 5, 2021 · 0 comments
Open
Assignees
Labels

Comments

@MaryJ25
Copy link

MaryJ25 commented Oct 5, 2021

I wrote HTML/CSS to make a table with data in it. It seems that imgkit is ignoring the "cellspacing" on the table and therefore I get gaps in the horizontal border where the vertical border would cross.

What's expected/ what it looks like in browser:

table

What I actually get:

table_bad

(Gaps on the first dark blue line on the left and between the cells with the light green background)

  • OS: [Windows 10 Enterprise]
  • IMGkit Version [1.2.2]
  • wkhtmltopdf Version [0.2]

The table had those gaps when rendered in browser too until I added the cellspacing argument on table, it removed the gaps and adding width on the columns made it not look squished. This makes me think that for some reason imgkit is ignoring the cellspacing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants