views:

31

answers:

0

I'm using a jQueryUI Dialog command to popup a <p> and wish to print just the text of the <p> using the media="print" declarative

html code::

<div class="jPajxDialog">
  <p class="print">
    Some Text
  </p>
<div>

I have tried: CSS code::

@charset "UTF-8";

body {visibility:hidden;}
.print {visibility:visible;}
.noprint {visibility: hidden;}

p.print {
  position: absolute;
  margin: 15px auto;
}