|
-
Jan 27th, 2003, 02:43 AM
#1
Printer Friendly Page
If my printer friendly version of a page has a black background, will the printed page also have a black background (therefore wasting all that ink)?
I don't know how it would show since I have no printer.
Also, I'd like to see a few good examples of printer-friendly versions of pages.
Thanks.
-
Jan 27th, 2003, 11:53 AM
#2
Black Cat
Most web browsers don't print background colors by default, AFAIK.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Jan 27th, 2003, 02:28 PM
#3
Fanatic Member
You can add different stylesheets for screen and print:
<link rel="stylesheet" href="screen.css" media="screen">
<link rel="stylesheet" href="print.css" media="print">
In screen.css you can define the style whichever you like. In print.css you can define the style you wish to see for printed pages. It is also possible to hide buttons, etc, this way on printed page. Give the button an id (or whatever you want), and set the display-attribute of the button in print.css to none.
Other examples are coloring all elements black, eventually width and height of tables, images, etc.
-
Jan 28th, 2003, 01:39 AM
#4
Originally posted by riis
You can add different stylesheets for screen and print:
<link rel="stylesheet" href="screen.css" media="screen">
<link rel="stylesheet" href="print.css" media="print">
In screen.css you can define the style whichever you like. In print.css you can define the style you wish to see for printed pages. It is also possible to hide buttons, etc, this way on printed page. Give the button an id (or whatever you want), and set the display-attribute of the button in print.css to none.
Other examples are coloring all elements black, eventually width and height of tables, images, etc.
That's just what I've done, thanks though. I was only wondering if the background colors get printed. Thanks Josh.
Uhm... any examples for good printer friendly pages, by any chance?
-
Jan 28th, 2003, 07:26 AM
#5
Fanatic Member
If you make all text black and all background colors white in the printer friendly stylesheet, then it doesn't really matter if background colors are printed.
As far as I know you can't control if the browser prints background colors.
You can test how a page will look like printed (except for background colors), when you use the printer stylesheet as your screen stylesheet.
-
Jan 28th, 2003, 11:05 AM
#6
Frenzied Member
Also I tend to hide navigations bars and the like with display: none. I also stop links from being coloured differently, something like a { color: inherit; text-decoration: none; } Depends how plain you want the page to be
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|