Hi - currently you can't print any Fedora wiki page due to a problem in "fedora.css". View any page in the Wiki, then try "File->Print Preview"... you'll see that there's no content! E.G., I was trying to print this: http://fedoraproject.org/wiki/PackageMaintainers/CreatingPackageHowTo
To fix this, you need to remove the line "overflow: auto;" (line 35) for #wrapper, which currently looks like this:
{ font: normal 1em/1.5 sans-serif; margin-left: 18px; min-height: 100%; background: #FFFFFF url(../images/border-right.png) 100% 0 repeat-y; padding-right: 18px; overflow: auto; }
The formatting for printing could use more love, but this change will at least make it work, and that's an improvement.
Thanks.
--- David A. Wheeler
Thanks a lot! I think we actually ended up replacing overflow: auto; with overflow: hidden; (because we needed it to clear a float), but it seems to have fixed the printing problem.
Unfortunately, on my system (Fedora 9, Firefox), it still fails to print with the new CSS ("overflow: hidden"). "Print preview" shows only 2 pages, with NO useful content and only the junk (the left-hand-side panel). and that is indeed what prints.
Removing the overflow: statement in "#wrapper" does make printing work. I can do this from Firefox by doing "save as... Web Page, complete" and then patching fedora.css to remove the "overflow:" command under #wrapper.
I don't know why it displays on yours and not mine. Mine consistently does not print any content on the Wiki. Mysterious!
Oh, sorry - I'm seeing it now as well. Looks like we'll have to put overflow: visible; in a print stylesheet, if this is the case.
Looks like I added the print stylesheet to the wiki and forgot to update the ticket. I'll close this ticket for now, but please feel free to reopen if it still fails. At some point, we'll probably want to revamp the print stylesheet entirely so that it's actually pretty - I'll be sending an email to websites-list about this.
List email: https://www.redhat.com/archives/fedora-websites-list/2008-October/msg00014.html
Login to comment on this ticket.