Hello, I've being trying to put this in my custom email head:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
However, the doctype line is being stripped out and causing errors across devices for the layout.
Anybody had this issue or know how to get around, so I can use DOCTYPE?
Hi @RobertF941
Thank you for reaching out about your email campaign! I can understand how important it is for your document type declarations in custom coded emails. What !DOCTYPE are you trying to use in the Advanced Editor? I apologize at this time our advanced editor does strip this. Being able to include these declarations is a feature request I have tracked in your account as our engineers are collecting feedback on. In the meantime, as a workaround we would suggest replacing the <td> tags with <th> tags. Webkit does allow the "display: block" style on <th> tags with no doctype declared. It’s also important we point out that <th> tags default to "font-weight: bold" and "text-align: center" styles.