can you, please, adjust a bit css for printing documentation? Right
navigation column
isn't printed (it's OK, I think nobody has clickable paper) but of this
one remains
on paper solid painted empty column (width 13mm). Looks ugly (especially
on b/w printing)
and it's vaste of ink/toner and space. Thanks
I think this little problem isn't version dependent.
Regards
Pietro
--
Ticket URL: <https://code.djangoproject.com/ticket/22381>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* needs_better_patch: => 0
* resolution: => worksforme
* needs_tests: => 0
* needs_docs: => 0
Comment:
I'm unable to reproduce, so it may depend on the browser. If you find a
way to avoid your issue with your browser, reopen with a patch.
--
Ticket URL: <https://code.djangoproject.com/ticket/22381#comment:1>
Comment (by anonymous):
Replying to [comment:1 claudep]:
> I'm unable to reproduce, so it may depend on the browser. If you find a
way to avoid your issue with your browser, reopen with a patch.
You are right. I'm, sorry for non mentioned browser. The guilty are
Opera/9.80 (X11; Linux i686) Presto/2.12.388 Version/12.16 and Opera for
Windows 7 (unknown version, it's so buggy that refuses show About popup).
With Mozilla Firefox 28.0 for Ubuntu and for Win 7 all work fine, so
Safari on MaC OS X and IE 11 for Win 7. (Have no other browsers and OSes)
But adding "#sidebar" to /* Hide unneccessary content */ block of
print.css solved quickly problem on Opera.
--
Ticket URL: <https://code.djangoproject.com/ticket/22381#comment:2>
Comment (by claudep):
If we have a fix, even if it's only for Opera, we should apply it.
However, it would be nice to at least understand the problem.
"#sidebar" should not target anything, as "sidebar" is a class, not an id.
Maybe ".sidebar"? And the same div is already targeted by `#documentation
#content-related`, why isn't the div hidden by that selector?
--
Ticket URL: <https://code.djangoproject.com/ticket/22381#comment:3>
Comment (by zio.pietro.53@…):
Replying to [comment:3 claudep]:
> If we have a fix, even if it's only for Opera, we should apply it.
However, it would be nice to at least understand the problem.
> "#sidebar" should not target anything, as "sidebar" is a class, not an
id. Maybe ".sidebar"? And the same div is already targeted by
`#documentation #content-related`, why isn't the div hidden by that
selector?
Yeah, why isn't the div hidden by that selector? Nice question. I don't
know.
My solution is Q&D only. I inspected element from Opera Inspector (or how
is its name) and saw that it's <div id="content-related" class="sidebar">.
Not find #sidebar in /* Hide unneccessary content */ block I added it and
voilà, it works!
I agree it would be nice understand why this strange behavior, but I'm not
so good in Opera mysteries ;)
Verified that my modification not harm printing in another browsers, so
IMHO it can be added, even we don't know perfectly what&why. If you don't
like this solution (I don't like Q&D hacks too), feel free to not add it,
you are maintainer (I think).
Regards
Pietro
--
Ticket URL: <https://code.djangoproject.com/ticket/22381#comment:4>