Forum Moderators: open

Message Too Old, No Replies

Printing

         

namelessguy

10:17 am on Jul 7, 2005 (gmt 0)

10+ Year Member



I've an online letter which allows the user to fill in some blanks such as address, date, name etc, with a print button down the bottom of the page.

It all works grand but there's a few things bothering me that I'd like to fix.

1) I used a textarea field for the address. The box itself doesn't show up but the scrollbar does. Anyway of getting rid of this?

2) Anyway of preventing the the print button showing on the page?

3) The page title, page number show up on top and the address and date show up on the bottom. Anyway of disabling this?

Thanks in advance for any help.

2004mark

12:39 pm on Jul 7, 2005 (gmt 0)

10+ Year Member



You could experiment useing a different ccs for printing than screen viewing.

<link href="text.css" rel="stylesheet" media="screen">
<link href="textprint.css" rel="stylesheet" media="print">

Giving the button and the scroll bar a class that has different attributes between the two i.e. make the elements that you don't want to appear the same colour as the background in the print css.

Also try giving the value of the text box a class that tells it to print black (this may not work).

The printed url that appears is somthing that you may find you have no control over, as it is nothing to do with the coding of the page but rather the settings of the users browser (I'm sure that someone will prove me wrong though).

Span

1:26 pm on Jul 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



3) The page title, page number show up on top and the address and date show up on the bottom. Anyway of disabling this?

You might want to try one of the solutions in these threads:
[webmasterworld.com ]
[webmasterworld.com ]