PDA

View Full Version : Printing an accordian page


BarryD
05-16-2009, 06:56 PM
I've got a page with accordian panels. I want to create a print style sheet, so that, the print-out shows all the page content - i.e., opening all the accordian content and without the scroll bars. I assume I've got to link the page to a modified copy of the SpryAccordian.css to make this work. Is this the correct approach? Any suggestions about how to modify the CSS would be appreciated. Thanks!

BarryD
05-17-2009, 10:06 PM
So that no one wastes any time with this - I did a search and found this link that solved my problem. Here it is for your info. I added the code to the head of my page and did a little fiddling. Best regards

http://labs.adobe.com/technologies/spry/samples/accordion/AccordionSample.html

The code is:

<link href="../../css/samples.css" rel="stylesheet" type="text/css" />
<link href="../../widgets/accordion/SpryAccordion.css" rel="stylesheet" type="text/css" />

<style type="text/css" media="print">

.Accordion {
overflow: visible !important;
}

.AccordionPanelContent {
display: block !important;
overflow: visible !important;
height: auto !important;
}

</style>