|
Comments for: fletcher20040402
| Message # 1020991: |
|
Date: 07/10/04 19:05
By: Big Mac Attack Subject: Come on...too much work when you can use CSS Define a class called "noprint" and put it on all <div>, <table>, etc. that you don't want to print. Create a printer style sheet called printer.css and link as normal <link rel="stylesheet" href="printer.css" media="print"> Then in printer.css use a simple rule like .noprint {display: none;} That pretty much does it, of course credit if you care about making it work in super old browsers. Then you can do a program to strip things, but this one seems too complicated anyway. |
Previous Message | Next Message |
| Comments: | ||
| RE: Interesting, but too complex IMHO | Scott | 08/16/04 19:54 |
| CSS is the apropriate solution! | Fernando Wendt | 08/13/04 12:51 |
| RE: using variable | smt | 07/29/04 03:32 |
| Come on...too much work when you can use CSS | Big Mac Attack | 07/10/04 19:05 |
| using variable | BIGmrC | 06/03/04 07:49 |
| Printer version? CSS! | Chris Erik Haugli | 04/16/04 02:40 |
| RE: Interesting, but too complex IMHO | Jim Fletcher | 04/14/04 18:59 |
| Interesting, but too complex IMHO | Tom | 04/09/04 09:45 |
|
If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly. | ||


