New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Printing the 'The Python Tutorial' #50919
Comments
I am having a problem when printing 'The Python Tutorial' at |
I can reproduce the issue using the "Print preview" on Firefox and on Possible solutions could be:
|
To fix this problem is enough to add an !important to the margin: 0; I'll try to explain why the !important is necessary. In default.css we then end up with something equivalent to: /* This is defined in basic.css and imported /* This is defined later in default.css */ When the file is printed both the rules are applied, because 'all' also Note that adding the !important is not a really good solution IMHO: the
A third solution might be to specify the media of the normal rules to More information here: http://www.w3.org/TR/CSS2/cascade.html |
I posted to the wrong bug, apologies |
Hi Ezio Many thanks for all your effort with this problem. brimac 2009/10/6 Ezio Melotti <report@bugs.python.org>
|
Now that the problem and the solution are known, Georg will probably fix |
Hi Ezio Thanks again. Brimac 2009/10/7 Ezio Melotti <report@bugs.python.org>
|
OK, fixed in Sphinx, and in the Python stylesheet in r75617. |
Georg, Ezio 2009/10/22 Georg Brandl <report@bugs.python.org>
|
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: