Skip to content
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

Using multiple css files issue #22

Open
ldt25290 opened this issue Mar 20, 2017 · 0 comments
Open

Using multiple css files issue #22

ldt25290 opened this issue Mar 20, 2017 · 0 comments

Comments

@ldt25290
Copy link

ldt25290 commented Mar 20, 2017

In HTML file, I have imported 2 css files like below :

      	<link href="style.css" rel="stylesheet" type="text/css" />
        <link href="bootstrap.css" rel="stylesheet" type="text/css" />

Currently, the exported pdf file has only css style of the bootstrap.css file.

However, I tried to add important! property for each item in style.css, the pdf could display css style of style.css file.

#myContent {
	background-color: lightblue !important;
	font-family: Helvetica Neue, sans-serif;
	color: red !important;
	padding: 20px;
}

Anyone has been able to generate pdf using multiple css file and without using !important property?

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

1 participant