‘video’ Tagged Posts

Blank Set

Blank Set Is it possible to use cascading style sheet to set the site visitor's printer to print blank page? Confidential information on a website should only can be seen by authorized person aft...

 

Blank Set

Blank Set
Is it possible to use cascading style sheet to set the site visitor's printer to print blank page?

Confidential information on a website should only can be seen by authorized person after they log in with their username and password.

However, some immoral authorized user may print the confidential information then show it to other person.

We cannot prevent the user from printing the information.

So, is it possible to use cascading style sheet (CSS) to set the printer to print blank page, and no information will be showed on all papers after printing?

If your answer is yes, give as much details as possible. If your answer is no, explain the reason in detail. Any suggestion will be appreciated.

There are three 3 methods available for printer friendly versions of web pages.

1. Two copies of each web page, one for the screen and one for the printer.

2. A corresponding Adobe PDF file for each web page

3. One web page with two style sheets, one for the screen and one for the printer.

The first method is very inefficient. The second is equally inefficient and brings in the usability problems that some people experience with PDF files. The third is surprisingly easy and very effective.

For Print, you need to create 2 CSS:

For Normal screen you need to create only 1 CSS:

Programetically, before Login, Call this CSS:

. Withis this CSS use, .body {display: none}

Programetically, after Login, Call this CSS:

. Within this CSS use Normal Print Layout for authenticated users without display: none.

Finally, also take a look into this article: http://www.htmlgoodies.com/beyond/css/article.php/3470341





Pro-Series HTCARG 500 lb Cargo Truck Rack
Pro-Series HTCARG 500 lb Cargo Truck Rack
List Price: $149.99
Sale Price: $105.38
You save: $44.61 (30%)
Average Rating:
Ford Truck/Ranchero Parts Locating Guide
Ford Truck/Ranchero Parts Locating Guide
Sale Price: $27.95
Average Rating:
Pro-Series HTMULT 250 lb Multi-Use Truck Rack
Pro-Series HTMULT 250 lb Multi-Use Truck Rack
List Price: $139.99
Sale Price: $105.31
You save: $34.68 (25%)
Average Rating:
Bigfoot Presents Meteor & the Mighty Monster Truck - Vol. 3
Bigfoot Presents Meteor & the Mighty Monster Truck - Vol. 3
Sale Price: $80.00
Average Rating:
Meteor & the Mighty Monster Trucks, Vol. 2
Meteor & the Mighty Monster Trucks, Vol. 2
List Price: $14.95
Average Rating:
Independent Genuine Parts Kingpins & Nuts Grade 8 Low (Pack Of12)
Independent Genuine Parts Kingpins & Nuts Grade 8 Low (Pack Of12)
List Price: $29.99
Sale Price: $21.48
You save: $8.51 (28%)
Claas Disc 8550 C Plus Three part Mower
Claas Disc 8550 C Plus Three part Mower
List Price: $42.99
Sale Price: $36.45
You save: $6.54 (15%)
Truck Parts Christmas Dark T-Shirt
Truck Parts Christmas Dark T-Shirt
Sale Price: $24.00
3-1/2 Gallon Parts Washer
3-1/2 Gallon Parts Washer
List Price: $127.99
Sale Price: $37.95
You save: $90.04 (70%)
Average Rating:


 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

No items matching your keywords were found.