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

is it possible to specify css selectors and definitions as array in printElement parameter? #43

Open
nelsonxm opened this issue Sep 24, 2012 · 0 comments

Comments

@nelsonxm
Copy link

hi,

i know you can specify a css file as a overrideElementCSS array element.

i want to specify the css selector/definition pairs directly instead. For example:

$('#prt-container').printElement({ overrideElementCSS:[{

"#prt-container table {border-collapse:collapse;}

prt-container th, #prt-container td {border:1px solid black;}",

media:'print'}]});

Is this possible?

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