How to amend HTML code within a preview box, Inexperienced with HTML code and email amendments |
How to amend HTML code within a preview box, Inexperienced with HTML code and email amendments |
Gee Kay |
May 22 2022, 10:11 AM
Post
#1
|
Group: Members Posts: 4 Joined: 18-May 22 Member No.: 28,358 |
Hi
I hope you can help. I am looking to upload HTML code to my marketing software. The company has added STRIPO as its template editor. The platform allows me to upload the code that I created from the (View Page Source) option on the HTML file. Once I uploaded the file to STRIPO it flags a number of errors with the code and the preview pane illustrates that it still needs editing. The problem is, that I do not have the skills to amend the errors with the HTML code section of STRIPO and I can not amend visual errors within the preview pane. Is there any software that allows me to upload the HTML code to it but then allows me to amend the code through the preview section when updating the text and spacing? If you can tell me what you need to see from my screen I can send screenshots. If the only way to amend the HTML template is by amending the code, I can send you the error messages I have been given every time I try and save the template. POST UPDATED - I have provided a screenshot of the Code and preview pane of the email template. Also, if this is the wrong place to post just let me know I will delete it. Many thanks Gee Kay At line 12: Syntax error in template "eval:<html xmlns:v="urn:schemas-microsoft-com..." on line 12 "<![endif]-->" unknown tag "endif" At line 1: missing <!DOCTYPE> declaration At line 547: <o:p> is not recognized! At line 547: discarding unexpected <o:p> At line 547: discarding unexpected </o:p> At line 554: <o:p> is not recognized! At line 554: discarding unexpected <o:p> At line 555: discarding unexpected </o:p> At line 569: <o:p> is not recognized! At line 569: discarding unexpected <o:p> At line 569: discarding unexpected </o:p> At line 577: <o:p> is not recognized! At line 577: discarding unexpected <o:p> At line 577: discarding unexpected </o:p> At line 587: <o:p> is not recognized! At line 587: discarding unexpected <o:p> At line 587: discarding unexpected </o:p> At line 594: <o:p> is not recognized! This post has been edited by Gee Kay: May 22 2022, 10:21 AM |
pandy |
May 23 2022, 07:23 AM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Any text editor. Notepad will do.
|
Gee Kay |
May 23 2022, 08:41 AM
Post
#3
|
Group: Members Posts: 4 Joined: 18-May 22 Member No.: 28,358 |
Thanks
Would you know how I deal with each of these errors so I can save and send the email? At line 12: Syntax error in template "eval:<html xmlns:v="urn:schemas-microsoft-com..." on line 12 "<![endif]-->" unknown tag "endif" At line 1: missing <!DOCTYPE> declaration At line 547: <o:p> is not recognized! At line 547: discarding unexpected <o:p> At line 547: discarding unexpected </o:p> At line 554: <o:p> is not recognized! At line 554: discarding unexpected <o:p> At line 555: discarding unexpected </o:p> At line 569: <o:p> is not recognized! At line 569: discarding unexpected <o:p> At line 569: discarding unexpected </o:p> At line 577: <o:p> is not recognized! At line 577: discarding unexpected <o:p> At line 577: discarding unexpected </o:p> At line 587: <o:p> is not recognized! At line 587: discarding unexpected <o:p> At line 587: discarding unexpected </o:p> At line 594: <o:p> is not recognized! |
pandy |
May 23 2022, 10:41 AM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Maybe, if you show us the actual document. But I'm not familiar with the software you use and what requirements it may have, so can't help you with that. I have a feeling though that what you have is converted to HTML from an MS Office document by an Office program. Is that correct? If so there's probably a lot of junk in there that you could simply delete.
Show what you have and we'll see. |
nootkan |
May 23 2022, 02:43 PM
Post
#5
|
Member Group: Members Posts: 34 Joined: 16-July 21 Member No.: 28,016 |
Try this online converter if pandy is correct and you copied your code from Microsoft Word.
https://wordhtml.com/ |
Gee Kay |
Jun 6 2022, 02:52 PM
Post
#6
|
Group: Members Posts: 4 Joined: 18-May 22 Member No.: 28,358 |
Maybe, if you show us the actual document. But I'm not familiar with the software you use and what requirements it may have, so can't help you with that. I have a feeling though that what you have is converted to HTML from an MS Office document by an Office program. Is that correct? If so there's probably a lot of junk in there that you could simply delete. Show what you have and we'll see. Thanks for your reply. I found a way to get rid of the errors but other warnings appeare. Here they are At line 8: discarding unexpected </span> At line 8: discarding unexpected </span> At line 8: replacing unexpected span with </span> At line 12: discarding unexpected </strong> At line 8: trimming empty <span> At line 8: trimming empty <strong> At line 12: trimming empty <span> At line 12: trimming empty <span> At line 12: I try to close the tags but it doesn't work. It just adds text to the top of my page. Can you see what I have done wrong? <body><span style="color: rgb(31, 31, 31); font-family: "Open Sans", Arial, sans-serif; font-size: 14.6667px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"></span></span></span><strong data-variable="line" <span></strong><span style="color: rgb(31, 31, 31); font-family: "Open Sans", Arial, sans-serif; font-size: 14.6667px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"><span></span></span><span |
Gee Kay |
Jun 6 2022, 02:54 PM
Post
#7
|
Group: Members Posts: 4 Joined: 18-May 22 Member No.: 28,358 |
Try this online converter if pandy is correct and you copied your code from Microsoft Word. https://wordhtml.com/ Thank you I have relied to Pandy's message. any help will be gratefully received |
pandy |
Jun 6 2022, 03:06 PM
Post
#8
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
I don't know what those warnings mean, but I can see you have oddities in your CSS.
QUOTE CODE font-family: "Open Sans" You can't have HTML entities like "e; in CSS and the quote shouldn't be escaped anyway. CODE font-family: 'Open Sans' QUOTE CODE font-size: 14.6667px Fractions of a pixel is a little over the top and with that many decimals... You specify A LOT. Do you really need to? |
Lo-Fi Version | Time is now: 25th April 2024 - 12:26 PM |