Return-Path: Delivered-To: apmail-incubator-jspwiki-dev-archive@locus.apache.org Received: (qmail 12547 invoked from network); 2 Sep 2008 20:16:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Sep 2008 20:16:43 -0000 Received: (qmail 70017 invoked by uid 500); 2 Sep 2008 20:16:41 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 70006 invoked by uid 500); 2 Sep 2008 20:16:41 -0000 Mailing-List: contact jspwiki-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-dev@incubator.apache.org Received: (qmail 69992 invoked by uid 99); 2 Sep 2008 20:16:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Sep 2008 13:16:41 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Sep 2008 20:15:43 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 97406234C1C3 for ; Tue, 2 Sep 2008 13:15:44 -0700 (PDT) Message-ID: <1979970974.1220386544617.JavaMail.jira@brutus> Date: Tue, 2 Sep 2008 13:15:44 -0700 (PDT) From: "Terry Steichen (JIRA)" To: jspwiki-dev@incubator.apache.org Subject: [jira] Updated: (JSPWIKI-370) CSS setting prevents proper printing In-Reply-To: <630111400.1220386304595.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JSPWIKI-370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Terry Steichen updated JSPWIKI-370: ----------------------------------- Attachment: mootools.js jspwiki_print.css jspwiki-common.js The rest > CSS setting prevents proper printing > ------------------------------------ > > Key: JSPWIKI-370 > URL: https://issues.apache.org/jira/browse/JSPWIKI-370 > Project: JSPWiki > Issue Type: Bug > Components: Default template > Affects Versions: 2.6.2 > Environment: Linux/Fedora 6 with Firefox 1.5 > Reporter: Terry Steichen > Priority: Minor > Attachments: jspwiki-common.js, jspwiki.css, jspwiki_print.css, mootools.js, prettify.js, print_test2.html > > > Though my display looks fine, when I print it (basically a large table), the first couple of pages were blank. To the best of my knowledge, this only happens on one particular page. I searched and searched through the code, convinced there was some open tag someplace. > However I just discovered the source of the problem. In jspwiki.css there is the following entry: > /* inspired by http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/ and yui reset */ > html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, > a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, > small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, > fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { > margin:0; > padding:0; > border:0; > outline:0; > vertical-align:baseline; > } > It turns out that the last item ("vertical-align:baseline") was the source of the problem. Comment it out, and the printing anomaly disappears. > I'm uploading a html file (generated from JSPWiki) along with the associated JS and CSS files. As it is now configured, it should display and print fine (because that item is commented out). Remove the comment, and the first three pages will print with blank entries. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.