We're sorry AsposeCloud doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.cloud

PDF is ignoring CSS in HTML input file

We are sending a single HTML file with styles defined in the file. The returned PDF file has none of the styling applied.

here are the files and some info for debugging. thanks.

SDK: aspose/aspose-html-cloud-php
SDK version: 22.12.1

input file (had to zip to attach, input is the enclosed file only): a345ywertr4e3-1-2023-07-13.html.zip (36.1 KB)

output file: a345ywertr4e3-1-2023-07-13.pdf (19.3 KB)

options used in convertLocalToLocal method call: [
‘width’ => 11,
‘height’ => 8.5,
‘left_margin’ => 0,
‘right_margin’ => 0,
‘top_margin’ => 0,
‘bottom_margin’ => 0

I did find the debug flag option in the sdk config and recorded to a debug file so here’s that info as well (also had to zip to attache).

debug.txt.zip (1.8 KB)

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): HTMLCLOUD-2191

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.