Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: OT: CSS: @media print attributes

by MidLifeXis (Prior)
on Sep 13, 2011 at 13:11 UTC ( #925695=note: print w/ replies, xml ) Need Help??


in reply to CSS: @media print attributes

FYI - this is pretty well off topic for PerlMonks.

This is how the browser works. It will not print the background colors of an element without being told to do so. If you wish to have this work the way you are specifying it, perhaps something like filling each cell with a 2px wide image of either on or off would be better. Then the displayed item is in the foreground instead of the background.

If I have a web page with a black background (or even better, a @media print setting of a black page), would you want the browser to, by default, print this? Or would you want the browser to make it as readable as possible on the selected media?

Use a foreground element of some sort (<img> for example) to generate what you want to display.

--MidLifeXis


Comment on Re: OT: CSS: @media print attributes
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://925695]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2014-08-22 18:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (163 votes), past polls