Hi everyone,
I have a form that I've used in the past to have visitors send letters via eFax to elected officials. I am trying to adapt it to also enable users to print the letter in a neat-looking format. Users enter their contact information and have the option to edit a textarea (the letter), then using a print stylesheet I format that information into the letter they can print off.
URL:
Here's my print stylesheet:
I have the beginnings of a nice letter for print (try it out in IE to get the idea of what I'm trying for), but 2 major snags:
1. Firefox on both mac and pc refuses to show the entire textarea and mashes together the address information the user enters.
2. Safari is all over the map - shows input borders, text size is different. Wow I guess it's back to the drawing board for that one.
For now any help someone could offer about the Firefox problems would be GREATLY appreciated.
THANKS!
I have a form that I've used in the past to have visitors send letters via eFax to elected officials. I am trying to adapt it to also enable users to print the letter in a neat-looking format. Users enter their contact information and have the option to edit a textarea (the letter), then using a print stylesheet I format that information into the letter they can print off.
URL:
Here's my print stylesheet:
Code:
.exclude {display:none;}
label {display: none;}
input, textarea, .print{
border:0;
font: normal 11pt "Times New Roman", Arial, sans-serif;}
textarea {
border:0;
font: normal 11pt "Times New Roman", Arial, sans-serif;
overflow:visible;
width:6.70in;
height:100%;}
#E-mail input {display:none;}
#contact {line-height:1em;
position:absolute;
top:50px;}
#City {width:50px;
overflow:visible;}
#State {width:5px;
overflow:visible;}
#subject {font-weight:bold;}
#letter {position:absolute;
top:50px;}
#Submitted_by {position:absolute;
top:800px;}
I have the beginnings of a nice letter for print (try it out in IE to get the idea of what I'm trying for), but 2 major snags:
1. Firefox on both mac and pc refuses to show the entire textarea and mashes together the address information the user enters.
2. Safari is all over the map - shows input borders, text size is different. Wow I guess it's back to the drawing board for that one.
For now any help someone could offer about the Firefox problems would be GREATLY appreciated.
THANKS!