Skip to content

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

@MaryJ25

Description

@MaryJ25

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.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions