Categories > TinyButStrong general >

When I generate a .pdf from .html template, the CSS3 is KO !!

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Cozen
Date: 2016-02-04
Time: 13:50

When I generate a .pdf from .html template, the CSS3 is KO !!

Hi,

I've got an problem when generated a .pdf document.
I use an .html template with CSS3 code inside.
If I look at the .html page, the design is great.
However after I used TBS to get a .pdf, the CSS3 is now out.
I can't use box-shadow, rgba, border-radius, etc...
I am not saying that the design is totally break, nevertheless it's like CSS 1.0, got back to 90's !!

Is it a problem with TBS ?
If not, an idea ?
By: Skrol29
Date: 2016-02-04
Time: 14:51

Re: When I generate a .pdf from .html template, the CSS3 is KO !!

Hi,

TBS does not deals with PDF.
I guess you are using an HTML to PDF converter (such as Html2Pdf).

Check your HTML to PDF converter for the CSS3 compatibility.


By: Cozen
Date: 2016-02-04
Time: 15:27

Re: When I generate a .pdf from .html template, the CSS3 is KO !!

Yes, you are right.
I used dompdf.
This is the problem, thank you, TBS did it right!! :p