jQueryPlugins icon indicating copy to clipboard operation
jQueryPlugins copied to clipboard

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

Open nelsonxm opened this issue 12 years ago • 0 comments

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?

nelsonxm avatar Sep 24 '12 21:09 nelsonxm