473,231 Members | 1,839 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,231 software developers and data experts.

page break... html to word or email

hi all im having troubles with a form that i have created for my website (application form)

basically i need to keep the webpage, page-break settings transfered into an email.

ive used the wc3 tutorials and the following page breaks individually to attempt to get the document to split.. with no avail.


Expand|Select|Wrap|Line Numbers
  1. <p style="page-break-before:always"/>
  2.  
  3. <br clear="all" style="page-break-before:always" />
  4.  
  5. VBCRLF
here is the webpage and a copy of the php file that emails the webpage data
application.html
php file uploader1.txt
any suggestions or ideas that could help me would be very much appreciated.

cheers

--dragon
Oct 10 '07 #1
4 12299
I just had the same issue where something that used to work quit working in word I had defined (in head or CSS):
Expand|Select|Wrap|Line Numbers
  1.     H3 { page-break-before: always }
  2.  
and placed in the body where ever I wanted a break:
Expand|Select|Wrap|Line Numbers
  1. <H3><!-- Next printed page --></H3>
  2.  
Apparently comments and white space is ignored now (???) so I had to use a space like so:
Expand|Select|Wrap|Line Numbers
  1. <p style="page-break-before:always">&nbsp;</p> 
  2.  
Hughie
Nov 14 '07 #2
drhowarddrfine
7,435 Expert 4TB
Dragon,
Validate your html for your list of 26 errors that need fixing. Then validate your css for the error there.
Nov 15 '07 #3
Correction: To avoid the space at the top of the page wrap the content of the page and not the space of my original reply or add the style to the first paragraph of every page:
Expand|Select|Wrap|Line Numbers
  1. <p style="page-break-before:always">Content of next page</p> 
  2.  
Expand|Select|Wrap|Line Numbers
  1. <p style="page-break-before:always">&nbsp;</p> 
  2.  
Nov 15 '07 #4
Correction: To avoid the space at the top of the page wrap the content of the page and not the space of my original reply or add the style to the first paragraph of every page:
Expand|Select|Wrap|Line Numbers
  1. <p style="page-break-before:always">Content of next page</p> 
  2.  
cheers for the input so far.. however we have a new problem...

ok something weired happens with your line of code...
ill try to explain the best i can

after i have input the code as you described (in both ways) it goes in nice and smoothly ect...

after the form has been submitted and i receive the email with the attached form, the html/php code shows a blank line of code instead of the page break i inserted...

eg..
_________________
Expand|Select|Wrap|Line Numbers
  1. on my side
  2. '</head>
  3. '<body>
  4. '<p style="page-break-before:always">some sort of content</p>
  5. '</body>
  6. '</html>
  7.  
  8. after i receive the email:
  9. '</head>
  10. '<body>
  11.  
  12. '</body>
  13. '</html>
  14.  
___________________

thats exactly what happens and i have no idea why....

any ideas?
Jan 28 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Matthew Robinson | last post by:
i wrote a search page for my site (searching through a mysql database) but when i type in more than one word (eg "item three") in the search field it gets passed to the page as a single word...
1
by: Mark | last post by:
Hi - apologies in advance if this is not the correct forum - tried searching loads, and still to find a workable solution. Generating a word document from ASP - no problem. Inserting page breaks...
18
by: Gustaf Liljegren | last post by:
IE does, and I can't remember this used to be a problem in Netscape. I guess someone in the Mozilla team just came up with a Smart Idea about the True Semantics of the Hyphen Minus character. :-(...
12
by: enak | last post by:
I have found some code that shows how to convert an html form to Word. The message said to simply put the following in the Page_load: Response.ContentType = "application/ms-word"...
2
by: moondaddy | last post by:
I have a page that I'm making for the sole purpose of printing and this page makes 1.5 printed pages. Is there a way to force a print page break at a specific place so when the user prints the...
3
by: Jeff | last post by:
This is not as simple as I thought. Using Print # I am outputting content for a text file. I wanted at certain points to force a page break so I thought a Chr(12) for a form feed may work. If...
2
by: CM | last post by:
Hi, Could anyone please help me? I am completing my Master's Degree and need to reproduce a Webpage in Word. Aspects of the page are lost and some of the text goes. I would really appreciate it....
1
by: Erik K. Schindeldecker | last post by:
Good Afternoon, I am exporting a series of datagrids to Microsoft Word, and cannot figure out how to force a page break between each datagrid. Does anyone know of a character or command I could...
7
by: SteveM | last post by:
I am sure this is an easy question, but being relatively new to ASP.NET programming, I can not quite grasp what I need to accomplish what I need to do. What I have is a word document that is...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.