• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Double word spacing when pasting into HTML doc from word document

New Here ,
Sep 23, 2020 Sep 23, 2020

Copy link to clipboard

Copied

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?

Views

753

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Sep 23, 2020 Sep 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 de

...

Votes

Translate

Translate
Community Expert ,
Sep 23, 2020 Sep 23, 2020

Copy link to clipboard

Copied

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 & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 23, 2020 Sep 23, 2020

Copy link to clipboard

Copied

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

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 23, 2020 Sep 23, 2020

Copy link to clipboard

Copied

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 & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 23, 2020 Sep 23, 2020

Copy link to clipboard

Copied

LATEST

Yeah! Thanks N for testing. I also tested, after you reminded me, and got same results.  take care!!! 🙂

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines