I am quite sure I am in the wrong forum but it has done me well before 
I am trying to generate a letter online using information from our database as well as info inputted by a user. I have a page where the top (letter head if you will) has the info generated by the db. The "Address to" has 4 input text boxes. The body of the letter is same for all users.
After the user enters in all the info I want them to be able to print the letter without the header and footers that are automatically generated by the browser.
Also another problem I run into is that the input boxes all have borders that print on the page. How can I have it so that the boxes dont get printed on the page.
Any suggestions?
I have been advised to use css but I dont know how it works at all. I have used the following code within my trials and none of them have worked:
1.
<LINK href=" type="text/css" media="print" rel="STYLESHEET">
2. I tried this one just so that the borders would not print...it didnt work for me either.
<style type="text/css">
p
{
border: none;
}
</style>
Thanks!
I am trying to generate a letter online using information from our database as well as info inputted by a user. I have a page where the top (letter head if you will) has the info generated by the db. The "Address to" has 4 input text boxes. The body of the letter is same for all users.
After the user enters in all the info I want them to be able to print the letter without the header and footers that are automatically generated by the browser.
Also another problem I run into is that the input boxes all have borders that print on the page. How can I have it so that the boxes dont get printed on the page.
Any suggestions?
I have been advised to use css but I dont know how it works at all. I have used the following code within my trials and none of them have worked:
1.
<LINK href=" type="text/css" media="print" rel="STYLESHEET">
2. I tried this one just so that the borders would not print...it didnt work for me either.
<style type="text/css">
p
{
border: none;
}
</style>
Thanks!