Skip to main content
Participant
September 23, 2020
Answered

Double word spacing when pasting into HTML doc from word document

  • September 23, 2020
  • 2 replies
  • 926 views

Double word spacing has been randomly appearing in Dreamweaver v 19 and 20. html doc. I have uninstalled and reinstalled different versions. I am copying from Microsoft 365-there are no hidden characters. I am working off desktop app.

How do I get the random double spacing removed? This recently started happening. Ideas?

    This topic has been closed for replies.
    Correct answer Nancy OShea

    I just looked at your attached screenshot which tells me this is a non-issue.  Right-click on open tab and preview your document in real browsers.  That's what matters. 

     

    Empty spaces, undetected by browsers:

     

    <p>Multiple   empty    spaces      in       HTML    markup     undetected    by browsers. </p>

     

     

    HTML entities, detected by browsers:

     

    <p>Multiple spaces &nbspc; &nbspc; &nbspc; &nbspc; &nbspc; &nbspc; detected by browsers. </p>

     

    At project completion, you can minify your code if desired.  But it's not necessary.

     

     

     

     

    2 replies

    Participant
    September 23, 2020

    Thanks Nancy, I'm trying to cut the time adding the code for paras, lists and tables from a MS doc. The paste special > formatting opts was working smoothly, not it's not.   It made my job easier.. 😕😕 

     

    Nancy OShea
    Community Expert
    Nancy OSheaCommunity ExpertCorrect answer
    Community Expert
    September 23, 2020

    I just looked at your attached screenshot which tells me this is a non-issue.  Right-click on open tab and preview your document in real browsers.  That's what matters. 

     

    Empty spaces, undetected by browsers:

     

    <p>Multiple   empty    spaces      in       HTML    markup     undetected    by browsers. </p>

     

     

    HTML entities, detected by browsers:

     

    <p>Multiple spaces &nbspc; &nbspc; &nbspc; &nbspc; &nbspc; &nbspc; detected by browsers. </p>

     

    At project completion, you can minify your code if desired.  But it's not necessary.

     

     

     

     

    Nancy O'Shea— Product User & Community Expert
    Nancy OShea
    Community Expert
    Community Expert
    September 23, 2020

    Do not paste formatted MS Offfice text into your HTML document.  It introduces unwanted MS junk code that isn't good with HTML. In Dreamweaver, use Edit > Paste Special > Text only.

     

    Nancy O'Shea— Product User & Community Expert