Note that there are some explanatory texts on larger screens.

plurals
  1. POPrinting collapsed css divs
    primarykey
    data
    text
    <p>I am using the following to run some expanding/collapsing divs</p> <pre><code>&lt;div class="FAQ"&gt; &lt;a href="#hide1" class="hide" id="hide1"&gt;+&lt;/a&gt; &lt;a href="#show1" class="show" id="show1"&gt;-&lt;/a&gt; &lt;div class="question"&gt; Question Question Question Question Question Question Question Question Question Question Question? &lt;/div&gt; &lt;div class="list"&gt; &lt;p&gt;Answer Answer Answer Answer Answer Answer Answer Answer Answer Answer Answer Answer Answer Answer Answer Answer Answer Answer &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <p>CSS</p> <pre><code>/* source: http://www.ehow.com/how_12214447_make-collapsing-lists-java.html */ .FAQ { vertical-align: top; height:auto !important; } .list { display:none; height:auto; margin:0; float: left; } .show { display: none; } .hide:target + .show { display: inline; } .hide:target { display: none; } .hide:target ~ .list { display:inline; } </code></pre> <p>as found (and continued) here <a href="https://stackoverflow.com/questions/15095933/pure-css-collapse-expand-div/19686754#19686754">Pure CSS collapse/expand div</a> </p> <p>My issue is that I can't get my expanded div to print either using Ctrl+p or using a function printpage script.</p> <p>I am new to this kind of thing and I feel the answer must be staring me in the face. Is there something I can add to my print.css file to force it to at least ignore the funcitonality of the class FAQ and print all that is hidden if I can't get it to print just the expanded div.</p> <p>Thanks in advance.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload