Skip to main content
Participant
Sep 23, 2020 5:28 PM UTC
Answered

Double word spacing when pasting into HTML doc from word document

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 is closed to new replies. Start a new post to keep the conversation going.
    Nancy OShea
    Nancy OSheaCorrect answer
    Community Expert
    Sep 23, 2020 7:32 PM UTC

    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

    4 replies

    Participant
    Sep 23, 2020 7:02 PM UTC

    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.. 😕😕 

     

    Translate
    Nancy OShea
    Community Expert
    Nancy OSheaCommunity ExpertCorrect answer
    Community Expert
    Sep 23, 2020 7:32 PM UTC

    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.

     

     

     

     

    Translate
    Nancy O'Shea— Product User & Community Expert
    Nancy OShea
    Community Expert
    Community Expert
    Sep 23, 2020 5:53 PM UTC

    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.

     

    Translate
    Nancy O'Shea— Product User & Community Expert