View Single Post
 
Old 09-13-2020, 09:16 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,932
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Quote:
Originally Posted by ggeoff View Post
most people that use Office do not work in offices.
Where do the majority of these people work Geoff? I would recommend they avoid the pool and other wet areas when using Office.

The result you get when you paste into a WYSIWYG editor will vary depending on which software powers the website AND which WYSIWYG editor plug-in you are using. Neither of these are under the control of MS Word. Do you have options to try other WYSIWYG editor plugins to see what results you get pasting?

The only way to ensure you have control over the html code such that it aligns with the particular WYSIWYG editor you are using is to convert the Word content into a HTML format and perhaps tinker with the code before importing it in 'code view'. Word's usual HTML content is riddled with word-specific tags which enable Word to reopen the file and lay it out according to Word's rules - unfortunately this produces very ugly code for direct html edits in websites. That is why Charles recommended using a HTML editor to create your HTML - it cuts out an extra authoring step.

If you REALLY want to start in Word, it is possible to create and run a macro to produce cleaned WCAG-compliant html for pasting into a code view of your site editing page. Others have provided code you could use as a starting point.
Convert table to html tags without using saveas option in word vba
https://www.joskingston.org/Htmltag/htmltaguser.doc
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote