Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
Magically appearing hard returns
I have webpages on a server and one day they were full of these hard
returns...some lines had 4 or 5 between each ones...some had 10 plus. As you can imagine coding on such a page is a major pain and outside of going thru and deleting them by hand, and risking deleting code as well, ive found no way to do this. Yes i can delete all hard returns but the ones that actually seperate the lines have to stay....just the mass amount between each line must go...ive tried all i can think of with no luck...thank you...gary |
#2
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
Magically appearing hard returns
What are you asking? How to delete empty paragaphs from a page? How to set
up your CSS to render paragraphs properly? Where they come from in the first place? (Paragraphs don't magically appear in web pages -- someone or something put them there.) Since consecutive white space characters (including paragraphs) have no effect on the way a page is rendered by the browser, why does it matter? "gary" wrote in message ... I have webpages on a server and one day they were full of these hard returns...some lines had 4 or 5 between each ones...some had 10 plus. As you can imagine coding on such a page is a major pain and outside of going thru and deleting them by hand, and risking deleting code as well, ive found no way to do this. Yes i can delete all hard returns but the ones that actually seperate the lines have to stay....just the mass amount between each line must go...ive tried all i can think of with no luck...thank you...gary |
#3
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
Magically appearing hard returns
first i agree they dont just magically appear...but are there none the
less...when i turn on the character map or whatever i is i can see all the little p symbols...will the world stop spinning if they remain? no. but have you ever had to work on code on 50+ pages where each line could have 2-22+ lines or hard returns between the next. Is a major pain...heck if i could just get the larger gaps out in a relatively simple, productive way i would be happy...yes i can highlight and delete...time consuming and run the risk of accidently deleting code...can also set it to delete between characters...not much faster than the above method...guess i was just asking for a miracle...a program that could understnd the hard returns at the end of lines of code should be kept while all others should be exterminated...so the "why does ti matter" my sanity...hate the thought of the time im about to waste highlighting and deleting all those hard returns...thanks...gary "Jezebel" wrote: What are you asking? How to delete empty paragaphs from a page? How to set up your CSS to render paragraphs properly? Where they come from in the first place? (Paragraphs don't magically appear in web pages -- someone or something put them there.) Since consecutive white space characters (including paragraphs) have no effect on the way a page is rendered by the browser, why does it matter? "gary" wrote in message ... I have webpages on a server and one day they were full of these hard returns...some lines had 4 or 5 between each ones...some had 10 plus. As you can imagine coding on such a page is a major pain and outside of going thru and deleting them by hand, and risking deleting code as well, ive found no way to do this. Yes i can delete all hard returns but the ones that actually seperate the lines have to stay....just the mass amount between each line must go...ive tried all i can think of with no luck...thank you...gary |
#4
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
Magically appearing hard returns
If this is a document you've downloaded, just use find and replace: look for
^p^p and replace with ^p; click 'Replace all' repeatedly. "gary" wrote in message news first i agree they dont just magically appear...but are there none the less...when i turn on the character map or whatever i is i can see all the little p symbols...will the world stop spinning if they remain? no. but have you ever had to work on code on 50+ pages where each line could have 2-22+ lines or hard returns between the next. Is a major pain...heck if i could just get the larger gaps out in a relatively simple, productive way i would be happy...yes i can highlight and delete...time consuming and run the risk of accidently deleting code...can also set it to delete between characters...not much faster than the above method...guess i was just asking for a miracle...a program that could understnd the hard returns at the end of lines of code should be kept while all others should be exterminated...so the "why does ti matter" my sanity...hate the thought of the time im about to waste highlighting and deleting all those hard returns...thanks...gary "Jezebel" wrote: What are you asking? How to delete empty paragaphs from a page? How to set up your CSS to render paragraphs properly? Where they come from in the first place? (Paragraphs don't magically appear in web pages -- someone or something put them there.) Since consecutive white space characters (including paragraphs) have no effect on the way a page is rendered by the browser, why does it matter? "gary" wrote in message ... I have webpages on a server and one day they were full of these hard returns...some lines had 4 or 5 between each ones...some had 10 plus. As you can imagine coding on such a page is a major pain and outside of going thru and deleting them by hand, and risking deleting code as well, ive found no way to do this. Yes i can delete all hard returns but the ones that actually seperate the lines have to stay....just the mass amount between each line must go...ive tried all i can think of with no luck...thank you...gary |
#5
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
Magically appearing hard returns
Jezebel wrote:
If this is a document you've downloaded, just use find and replace: look for ^p^p and replace with ^p; click 'Replace all' repeatedly. "gary" wrote in message news first i agree they dont just magically appear...but are there none the less...when i turn on the character map or whatever i is i can see all the little p symbols...will the world stop spinning if they remain? no. but have you ever had to work on code on 50+ pages where each line could have 2-22+ lines or hard returns between the next. Is a major pain...heck if i could just get the larger gaps out in a relatively simple, productive way i would be happy...yes i can highlight and delete...time consuming and run the risk of accidently deleting code...can also set it to delete between characters...not much faster than the above method...guess i was just asking for a miracle...a program that could understnd the hard returns at the end of lines of code should be kept while all others should be exterminated...so the "why does ti matter" my sanity...hate the thought of the time im about to waste highlighting and deleting all those hard returns...thanks...gary "Jezebel" wrote: What are you asking? How to delete empty paragaphs from a page? How to set up your CSS to render paragraphs properly? Where they come from in the first place? (Paragraphs don't magically appear in web pages -- someone or something put them there.) Since consecutive white space characters (including paragraphs) have no effect on the way a page is rendered by the browser, why does it matter? "gary" wrote in message ... I have webpages on a server and one day they were full of these hard returns...some lines had 4 or 5 between each ones...some had 10 plus. As you can imagine coding on such a page is a major pain and outside of going thru and deleting them by hand, and risking deleting code as well, ive found no way to do this. Yes i can delete all hard returns but the ones that actually seperate the lines have to stay....just the mass amount between each line must go...ive tried all i can think of with no luck...thank you...gary Should find something a little more specialized than Word for editing web pages too. I don't know about more recent versions, but Word 97 has no way of displaying if a hard line break is the end of a paragraph element, the end of a division element or a break. Word 97 also has a habit of inserting a lot of spurious format elements and in line styles for text where I would prefer to leave things to a definition in the header or an external sheet. Demonstrations I have seen of some Frontpage versions which seem to exibit some of the same habits. |
#6
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
Magically appearing hard returns
but Word 97 has
no way of displaying if a hard line break is the end of a paragraph element, the end of a division element or a break. Not sure what you're referring to here. If you switch on formatting marks, paragraphs are shown as pilcrows (¶) and simple line breaks as down-left-arrow (¿). Section breaks are shown as dotted lines plus text if you switch to normal view. Word has no division breaks. Word 97 also has a habit of inserting a lot of spurious format elements and in line styles for text where I would prefer to leave things to a definition in the header or an external sheet. Word is a computer program. It doesn't have habits. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
need help removing hard returns from a document imported from .txt | New Users | |||
Hard returns in an If-Then-Else statement | Mailmerge | |||
REMOVE HARD CARRIAGE RETURNS IN A PARAGRAPH? | Microsoft Word Help | |||
REMOVE HARD CARRIAGE RETURNS IN A PARAGRAPH? | Microsoft Word Help | |||
Can I delete all hard returns in a document? | Microsoft Word Help |