Node-html-pdf: column-count not work with pdf

Created on 9 Nov 2017  路  4Comments  路  Source: marcbachmann/node-html-pdf

in css column-count and columns not support in pdf

@media print{
    .newspaper {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
        -webkit-column-gap: 20px;
        -moz-column-gap: 20px;
        column-gap: 20px;
    }
}

media print also try but pdf not take css.

My Requirement:

  • i need 2 Columms and when first column complete then start second columm.

Any help would be appreciated.

thanks

All 4 comments

I am also looking for help on same

https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1872
is it possible with this link
But you must give height but I want to set with without giving height.
(can you help me with other solutions.)

If large amounts of expected CSS functionality is not supported by this package, it would be helpful to document this upfront so people don't waste time trying to debug expected behaviour.

@mcclowes that would be very nice. Do you want to help with it, so developers don't need to waste their time with it for free?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Messilimeng picture Messilimeng  路  4Comments

hishamabutt picture hishamabutt  路  4Comments

qianweicheng picture qianweicheng  路  5Comments

B-StS picture B-StS  路  5Comments

OussamaRomdhane picture OussamaRomdhane  路  4Comments