Skip to main content
shrimpnewsinternational
Participant
March 10, 2021
Question

Word to Dreamweaver Problems

  • March 10, 2021
  • 3 replies
  • 493 views

Hi, I'm using DW 21.1 on Mac' Big Sur OS.  I've always been able to copy and paste Word Files into DW with all their formatting, but now they are arriving as a little blank square that when clicked provides the following message: "Marked Invalid Because It Does Not Belong in the Tag Tha It's In.  Go The Code To Correct The Problem."

 

I looked at the code, but I'm not well versed in HTML and did not know what to do.  How can I correct this problem.

 

[MODERATOR REMOVED URL AND PHONE NUMBER]

This topic has been closed for replies.

3 replies

Nancy OShea
Community Expert
Community Expert
March 11, 2021

Did you run your code through the online validation service below?

https://validator.w3.org/

 

How many code errors and warnings were reported?

 

If you care to post a URL to your online website, we'll take a look at the code for you.

 

Nancy O'Shea— Product User & Community Expert
Jon Fritz
Community Expert
Community Expert
March 10, 2021

Sounds to me like there are special characters making the trip from Word into DW.

Rather than a straight Copy/Paste, try...

1. Copy the text from Word
2. Right-click in DW's Design View where you want to add your text and choose "Paste Special"
3. In the dialogue that comes up, choose the "Text with structure (paragraphs, lists, tables, etc)" radio button
4. Hit OK

That should stop Microsoft's garbage code from infecting your .html file.

Nancy OShea
Community Expert
Community Expert
March 10, 2021

But this speaks to a bigger problem.

"Marked Invalid Because It Does Not Belong in the Tag That It's In. Go To The Code To Correct The Problem."

 

 

Nancy O'Shea— Product User & Community Expert
Nancy OShea
Community Expert
Community Expert
March 10, 2021

Bob,

It's time you learned how to work with code.  We can't fix coding errors for you.  That goes beyond the scope of what this product forum can provide.  Sorry. 

 

START HERE:

HTML Validation Service https://validator.w3.org/

CSS Validation Service https://jigsaw.w3.org/css-validator/

 

CODE RESOURCES:

- https://www.w3schools.com/html/
- https://www.w3schools.com/css/
- https://www.w3schools.com/js/

Please don't post personal information in this public forum.  This is NOT private email.  What you post here is visible to the entire Internet.

 

Thank you.

 

Nancy O'Shea— Product User & Community Expert