Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a long URL that contains some hyphens, and would like to include it in a Word document. Unfortunately Word sees the hyphens and creates a rather ugly line-breaking scheme.

If I replace the hyphens with nonbreaking hyphens, it looks nice, but now if someone cut+pastes the URL into a browser, it won't work because the difference between regular hyphens and nonbreaking hyphens are significant.

I don't want to rely on a hyperlink, since a printed document may be used later. Also, I can't use tinyurl or another URL-shortening server, since it's an internal URL behind our company firewall.

Is there a way adjust paragraph style to keep Word from breaking lines at regular hyphens, so that I don't have to mess with the URL? Or do I just lose here?

share|improve this question
1  
Xref them to entries in a landscape format appendix? –  pnuts Jun 18 '13 at 17:21
    
I usually put the full URLs as footnotes on the hyperlinked text. I've been looking for a better way for years, but haven't found one. –  Moshe Katz Jun 24 '13 at 20:58

2 Answers 2

You can replace hyphens in a URL with %2D. When the URL is pasted into a browser, it will still work. Also, since you are removing the hyphens, Word won't wrap the line early in an arbitrary way.

share|improve this answer

Remove the Automatic Border Line

  1. Click on the line above the border on the page, hold down the mouse button and drag to the line below the border line to highlight all the paragraphs near the border.
  2. Click the "Home" tab at the top of the screen, then click the "Border" button on the "Paragraph" panel. A drop-down menu will appear.
  3. Choose "No Border" from this menu and the border line on your page will disappear.
share|improve this answer
1  
Um... What question are you answering? –  G-Man yesterday

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.