Here is the sheet. The commented out stuff is what I have tried in vain to get to work. I did not create this site. I'm just trying to get the printing to work.
E /[EMAIL PROTECTED] { size 8.5in 11in; margin: 2cm }*/ #php {display:none} span.footer { display:none; } /*span.relatedinfo {display:none; }*/ /*P.breakhere {page-break-after:always}*/ #AutoNumber4 {display:none} #span {position:relative} p { position: relative} body { margin: 0; padding: 0; width: 760px; } Edward Iglesias Systems Librarian Central Connecticut State University 860.832.2082 > -----Original Message----- > From: Code for Libraries [mailto:[EMAIL PROTECTED] On > Behalf Of Ross Singer > Sent: Friday, March 03, 2006 10:48 AM > To: CODE4LIB@listserv.nd.edu > Subject: Re: [CODE4LIB] php printing issue > > Is this page publicly linked somewhere? > > -Ross. > > On 3/3/06, Iglesias, Edward G. (Library) > <[EMAIL PROTECTED]> wrote: > > Thanks for your help. Unfortunately I think the problem is a bit > > deeper than I first thought. I wrapped the php in <p class="php"> > > tags and set > > > > p.php > > {display:none} > > > > On the linked stylesheet. While the php element > disappears in print > > view the problem still occurs. Part of the issue is that > the php is > > already removed once it is displayed as html. I am at > something of a > > loss. > > > > > > Edward Iglesias > > Systems Librarian > > Central Connecticut State University > > 860.832.2082 > > > > > > > > > -----Original Message----- > > > From: Code for Libraries > [mailto:[EMAIL PROTECTED] On Behalf > > > Of Ross Singer > > > Sent: Friday, March 03, 2006 9:21 AM > > > To: CODE4LIB@listserv.nd.edu > > > Subject: Re: [CODE4LIB] php printing issue > > > > > > Edward, > > > > > > You can call another CSS for printing, if you so desire, > and set the > > > PHP elements to display: none;. > > > > > > You would have something like this: > > > <link href="/css/print_style.css" rel="stylesheet" media="print" > > > type="text/css"> > > > > > > in the <head> tag. > > > > > > Good luck, > > > -Ross. > > > > > > On 3/3/06, Iglesias, Edward G. (Library) > <[EMAIL PROTECTED]> > > > wrote: > > > > Greetings All, > > > > > > > > I have been noticing a problem with the printing of some of our > > > > web pages. Specifically, if you look at it in print preview or > > > > try to print in Firefox only the first page shows up. > > > > > > > > Example http://library.ccsu.edu/help/faq/index.php > > > > > > > > The problem seems to lie in the "breadcrumb" php script. > > > Once it is > > > > removed the pages prints correctly. At first I thought > > > this would be > > > > a simple fix with CSS. Unfortunately I can't seem to come > > > up with a > > > > way of stripping out the php when printing is invoked short of > > > > creating another page. Do any of you know of a quick way to do > > > > the equivalent of > > > > > > > > span.footer > > > > { display:none; > > > > } > > > > > > > > only taking out everything in the <?php>...<?> tags? > > > > > > > > Thanks, > > > > > > > > > > > > Edward Iglesias > > > > Systems Librarian > > > > Central Connecticut State University > > > > 860.832.2082 > > > > > > > > > > > > > > > > > > > > > > > >