How can I Change the fontsize if printing for the header- footerinformation?
hi, is there a way to change the fontsize / font for the header / footer if i print a document or file? the problem is, that i have sometimes long url's that i wanna have printed in the header, but it doesn't fit with the fontsize of always 10pt. a little trick was to print the url in the header-center, but also then sometimes its not enough space. my idea was to somewhere set the fontsize to 8pt or 7pt. maybe there is an entry in mozilla:config i didn't found? thanks hendrik
Semua Balasan (1)
Sorry, I do not see any setting for that.
What do you think about adding the URL to the bottom of the page you're printing? You could try this code in Firefox's Web Console if you don't need this very often:
(1) Select and copy this script:
var p=document.createElement('p'); p.setAttribute('style', 'padding-top:1em; color:#000; background-color:#fff;'); p.innerHTML='URL: '+document.location.href; document.body.appendChild(p);
(2) Open the Web Console in the lower part of the tab using either:
- "3-bar" menu button > Developer > Web Console
- (menu bar) Tools > Web Developer > Web Console
- on Windows, Ctrl+Shift+k
(3) Paste the script in the blank line at the bottom and press Enter to run it. The console should show a <p> tag -- success -- or an error message of some kind. Hopefully it worked, you can close the console now and you should see the new line at the bottom of the page.
There may be some layout issues with fixed position content that want to be at the bottom, but I don't want to make this any more complicated than it already is. Let me know whether this helps.