acdc
Member
+37|6546|SEATTLE, WA
I have 10 different ms word documents with text in them and I want to compile them all into one html file that I can open with ie or firefox and use the search function to search throughout the html file.

I have like three html programs downloaded, notepad++, coffee cup, and netbeans. 

The search function in word is a joke and I want to be able to search throughout one html page using the firefox search function ideally.

When I copy and paste all of the text into one project using one of those html programs I get one huge paragraph of text which isn't separated obviously. 

Is there a way to BR (separate) every line without typing BR a million times? 

In the end I want one html file with all of my text from the word documents separated line by line. 

Example,

Question 1 - blah blah

Question 2 - blah blah

etc...
bugz
Fission Mailed
+3,311|6283

If you throw this inside the <head> tags of the html file

Code:

<style type="text\css">
    * {
        line-height: 1.2em;
    }
</style>
It's equivalent to changing the line spacing of a paragraph in MS Word. I think that's what you're after...

ed: just increase or decrease the number depending on the amount of spacing you want

Last edited by ebug9 (2011-03-14 19:45:14)

Miggle
FUCK UBISOFT
+1,411|6712|FUCK UBISOFT

in word you can probably find and replace line breaks with <br />
https://i.imgur.com/86fodNE.png
acdc
Member
+37|6546|SEATTLE, WA

ebug9 wrote:

If you throw this inside the <head> tags of the html file

Code:

<style type="text\css">
    * {
        line-height: 1.2em;
    }
</style>
It's equivalent to changing the line spacing of a paragraph in MS Word. I think that's what you're after...

ed: just increase or decrease the number depending on the amount of spacing you want
I could not get it to work, although it's probably a simple mistake on my part.
Nessie09
I "fix" things
+107|6641|The Netherlands
You want the following:

Code:

<style type="text\css">
    * {
        white-space: pre;
    }
</style>
See also the w3schools page.

Board footer

Privacy Policy - © 2024 Jeff Minard