# Customized CSS is not working in HTML to PDF Converter

**URL:** <https://forum.novacura.com/t/customized-css-is-not-working-in-html-to-pdf-converter/731>\
**Category:** Flow Classic\
**Created:** [July 22, 2024, 10:22am UTC](https://forum.novacura.com/t/customized-css-is-not-working-in-html-to-pdf-converter/731 "2024-07-22T10:22:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ANUP](https://avatars.discourse-cdn.com/v4/letter/a/7C9FD7/32.png) [@ANUP](https://forum.novacura.com/u/ANUP)\
**Post date:** [July 22, 2024, 10:22am UTC](https://forum.novacura.com/t/customized-css-is-not-working-in-html-to-pdf-converter/731/1 "2024-07-22T10:22:47Z")

</div>

Hello Community,  
I am trying to generate an invoice using HTML to PDF Connector with HTML & CSS in the Novacura, but it isn’t generating the PDF and showing the below error pop-up.

It is working fine if I’m not using CSS or using pre-loaded CSS. But while using my customized CSS it’s not working which is working well in my local machine. It’ll be a great if anyone helps.

 ![image (1)](https://europe1.discourse-cdn.com/flex013/uploads/novacuratalk/original/1X/537370873b02f603d2c043d0fcaec229d30f9e48.png)

Regards,  
Anupam Charan Pahari

---

<div class="post-metadata">

**Author:** ![ivstde](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.novacura.com/ivstde/32/146_2.png) [@ivstde](https://forum.novacura.com/u/ivstde)\
**Post date:** [July 26, 2024, 9:23am UTC](https://forum.novacura.com/t/customized-css-is-not-working-in-html-to-pdf-converter/731/2 "2024-07-26T09:23:49Z")

</div>

Hi @ANUP ,

not sure what could be wrong (you should provide more details, maybe attach the flow stripped of sensitive data or the CSS you are trying to use)

but in general the connector supports CSS Level 2 Spec so if you are trying with some element that were added later…could be why you get no pages.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/novacuratalk/original/1X/0ff806ec6d74dd0593a834a7790f80620e62fb23.png)

> **[Html to PDF | Flow Help](https://help.novacuraflow.com/connectors/areas/printing/html-pdf)**

Hope this helps!

B R  
Ivan

---

<div class="post-metadata">

**Author:** ![ANUP](https://avatars.discourse-cdn.com/v4/letter/a/7C9FD7/32.png) [@ANUP](https://forum.novacura.com/u/ANUP)\
**Post date:** [July 29, 2024, 10:27am UTC](https://forum.novacura.com/t/customized-css-is-not-working-in-html-to-pdf-converter/731/3 "2024-07-29T10:27:33Z")

</div>

Hi Ivan,  
Thanks for the reference. It works with the mentioned CSS Format i.e., CSS Level 2.

Thanks & regards,  
Anupam
