This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Stylesheets > April 2006 > css background-color print workaround
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
css background-color print workaround
|
|
|
| Hi All,
Does anyone use vml to force the printing of background-colors
in IE clients?
Or is there a better way.
Regards,
slyi
FYI: moved from js related group
eg:
<html xmlns:v="urn:schemas-microsoft-com:vml" >
<head>
<style>
@media all { v\:* {behavior:url(#default#vml);} }
span {height:50;width:99%;background-color:red}
</style>
<title>background-color print workaround</title>
</head>
<body >
<span>
<v:rect style='width:100%;height:100%;' fillcolor="red"
strokecolor="red">
<v:textbox>
<h1>This is a title with a background</h1>
</v:textbox>
</v:rect>
</span>
</body></html>
| |
| Schraalhans Keukenmeester 2006-04-01, 6:48 pm |
| slyi wrote:
> Hi All,
> Does anyone use vml to force the printing of background-colors
> in IE clients?
>
> Or is there a better way.
>
> Regards,
>
> slyi
>
> FYI: moved from js related group
>
> eg:
> <html xmlns:v="urn:schemas-microsoft-com:vml" >
> <head>
> <style>
> @media all { v\:* {behavior:url(#default#vml);} }
> span {height:50;width:99%;background-color:red}
> </style>
> <title>background-color print workaround</title>
> </head>
> <body >
> <span>
> <v:rect style='width:100%;height:100%;' fillcolor="red"
> strokecolor="red">
> <v:textbox>
> <h1>This is a title with a background</h1>
> </v:textbox>
> </v:rect>
> </span>
> </body></html>
>
No. Yes: CSS media="print"
| |
| David Dorward 2006-04-01, 6:48 pm |
| Schraalhans Keukenmeester wrote:
Eugh. If the user has the "Print background colours and images" option off,
its probably because they haven't felt the need to burn through large
amounts of ink to print a webpage. Trying to work around that isn't a
fantastic idea.
[color=darkred]
[color=darkred]
> No. Yes: CSS media="print"
Print specific stylesheets cannot override the user preference "Print
background colours and images" in any browser as far as I'm aware.
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
| |
| Carolyn Marenger 2006-04-02, 6:38 pm |
| slyi wrote:
> Hi All,
> Does anyone use vml to force the printing of background-colors
> in IE clients?
>
> Or is there a better way.
>
> Regards,
>
> slyi
>
<snip>
Hi,
I don't force anyone to print background colours and I would hope that there
is no way to do so. Ink is expensive, often cheapest when it comes with a
money back discount printer. When I want to print the background, I will.
The rest of the time, I go for not background, draft mode, and usually grey
scale. Occasionally I opt for a better quality and colour print. I don't
want to be forced to print the background, and I don't want to be forced to
go replace my ink cartridges more often than I already have to.
Carolyn
--
Carolyn Marenger
| |
| saprogenous 2006-04-09, 4:12 am |
| In 99% cases, users are ok without backgrounds. But what if the page is not clear on print without colours in the background.
Like a table with background colours and using different colours as legends.
quote: Originally posted by Carolyn Marenger
slyi wrote:
> Hi All,
> Does anyone use vml to force the printing of background-colors
> in IE clients?
>
> Or is there a better way.
>
> Regards,
>
> slyi
>
<snip>
Hi,
I don't force anyone to print background colours and I would hope that there
is no way to do so. Ink is expensive, often cheapest when it comes with a
money back discount printer. When I want to print the background, I will.
The rest of the time, I go for not background, draft mode, and usually grey
scale. Occasionally I opt for a better quality and colour print. I don't
want to be forced to print the background, and I don't want to be forced to
go replace my ink cartridges more often than I already have to.
Carolyn
--
Carolyn Marenger
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|