Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Strike-through in HTML Emails

Tags:

html

email

I'm currently coding an HTML email, using MailChimp to test it, and eventually to send it.

The email advertises several sales, which are displayed using the HTML strike tag. For some reason, these strike tags are not coming through to the finished test emails.

Code as it appears in MailChimp:

<strike>$12.95</strike> SALE! $9.95

Code in the test email, retrieved using Chrome Web Tools:

$12.95 SALE! $9.95

I've personally verified that this is happening in Gmail, Outlook 2007, and Yahoo! Mail. A quick perusal of my MailChimp Inbox Inspector results tells me the problem is definitely not limited to these three.

Any idea why this might be happening? Is there a more reliable alternative I could use without resorting to images?

like image 369
Nathan Arthur Avatar asked Dec 08 '11 23:12

Nathan Arthur


1 Answers

An in-line style of text-decoration:line-through is your best option and it seems to be widely supported. The PDF on that page has a much larger result set for many more clients.

like image 110
andyb Avatar answered Oct 23 '22 09:10

andyb