February 16, 2003
Print Settings, too, with userContent.css mozilla-star.jpg

I use Mozilla or it's lighter weight cousin Phoenix to do most of my browsing except for the odd site which requires IE because they've used some M$ software to create the site. (The corporate intranet where I work is a big offender in this regard.) This web site described some ways to do some ad-blocking with css coding in the userContent.css. I used this file to solve a printing problem: At great expense (heh! heh!) I downloaded a driver from HP to do multiple pages/page and correct gray-scale shading at 600dpi with coloured documents on the Laserjet 5 Si/MX at work. One problem, though, is that trying to print pages from some sites will give very light lettering on a white background. Here's a userContent.css entry that will fix this:

@media print { 
  body { background: white ! important;
         color: black ! important; } }

That is, when printing, the default background is white and the text colour is black, unless specifically overridden by the document. Works for me!

 
Posted by jservice at February 16, 2003 09:52 PM
Comments