I maintain a number of .htm pages that are created in either word or excel and saved as .htm
These .htm pages are regularly updated using word or excel.
I add the jump to highlighting code by editing the .htm file in notepad and the feature works perfectly.
The problem occurrs when I take that same file, edit it with word or excel and then save it again as .htm. The process removes this line:
<style .highlight { background: #FFFF40;}</style>
Word and/or excel removes this line and adds its own version of the style in the style section of the documment. Often as an entry of p.highlight which does not function with the search response.
Is anyone aware of a solution to this problem?
Thanks
Al
These .htm pages are regularly updated using word or excel.
I add the jump to highlighting code by editing the .htm file in notepad and the feature works perfectly.
The problem occurrs when I take that same file, edit it with word or excel and then save it again as .htm. The process removes this line:
<style .highlight { background: #FFFF40;}</style>
Word and/or excel removes this line and adds its own version of the style in the style section of the documment. Often as an entry of p.highlight which does not function with the search response.
Is anyone aware of a solution to this problem?
Thanks
Al
Comment