Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Page content appears fine in browser but pages are blank when printing

Matthew J. Horn
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 4, 2012

When I print, the pages are blank except for the title of the site in the header of the printed page. I think I have narrowed the problem down to the "header" DIV (<div id="header" class="$!headerClass">) that is defined in the Main Layout decorator: when I remove that DIV, the page contents show up in the printout.

The problem is that the header DIV defines some styles that are important for the overall look and feel, but I can't figure out which one(s) are causing the printout to fail.

I've searched for display:none in the CSS and noprint DIVs in the decorators and have come up empty. I've also tried removing the styles that are defined in the header, one by one, until I removed all of them, and still no luck.

Any ideas?

1 answer

1 accepted

0 votes
Answer accepted
Matthew J. Horn
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 10, 2012

Follow up to this: Could not find the cause nor the cure, but instead just added "decorator=printable" to the query string as a workaround.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events