Closed jakemwp closed 8 years ago
Docverter only allows a limited subset of CSS3, mostly having to do with the print media module. Gradients don't make the cut.
On Mon, Feb 29, 2016 at 1:42 AM, jakemwp notifications@github.com wrote:
Hey guys,
Here is the example HTML page I have: http://67.227.192.13/~hosttestmyphpski/html_to_pdf/html_templates/TestDentalOffice.html
Here is the PDF that comes out: http://67.227.192.13/~hosttestmyphpski/html_to_pdf/html_templates/TestDentalOffice.pdf
As you can see the gradient is dropped from the PDF when generated.
Here is the HTML that I am using in particular: CSS
grad1 {
height: 100px; background: grey; background: -webkit-linear-gradient(#A9A9A9, #FFFFFF); background: -o-linear-gradient(#A9A9A9, #FFFFFF); background: -moz-linear-gradient(#A9A9A9, #FFFFFF); background: linear-gradient(#A9A9A9, #FFFFFF); }
HTML: [image: logo] https://camo.githubusercontent.com/0fcd138d49e0882562d64c433c4f1ef3c7f05556/687474703a2f2f692e696d6775722e636f6d2f547a724a5666662e706e67
2001 Windy Terrace Suite F Cedar Park , Texas , 78613
Phone. 888.759.4287 | Fax. 512.989.9559
sales@capitaldentalequipment.com
INVOICE
Invoice Date:
February 4, 2016 Account: Test Dental Office Balance Due Date:
February 11, 2016
Total Invoice Amount: $ 49,500.00
I have tried changing the CSS to use Grey/White instead of hex codes but that didn't work either.
Anyone know what the problem is?
— Reply to this email directly or view it on GitHub https://github.com/Docverter/docverter/issues/43.
Hey guys,
Here is the example HTML page I have: http://67.227.192.13/~hosttestmyphpski/html_to_pdf/html_templates/TestDentalOffice.html
Here is the PDF that comes out:http://67.227.192.13/~hosttestmyphpski/html_to_pdf/html_templates/TestDentalOffice.pdf
As you can see the gradient is dropped from the PDF when generated.
Here is the HTML that I am using in particular: CSS
grad1 {
}
HTML:
I have tried changing the CSS to use Grey/White instead of hex codes but that didn't work either.
Anyone know what the problem is?