Skip to content

Styling aren't working as shown in html. #119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ajay-studio137 opened this issue Oct 22, 2024 · 1 comment
Open

Styling aren't working as shown in html. #119

ajay-studio137 opened this issue Oct 22, 2024 · 1 comment

Comments

@ajay-studio137
Copy link

I am passing html as {content: htmlString} but styling inside the outputted PDF doesn't match the passed html.

<!DOCTYPE html>
<html lang="en">

<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<head>
  <style>
  css
  </style>
</head>
<body>
  content
</body>
</html>

Please let me know if anymore information is needed.

@barbaldo
Copy link

I'm having the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants