Shoutbox

html in email - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: html in email (/showthread.php?tid=77866)

html in email by Supersonicdarky on 09-30-2007 at 12:30 AM

how do I get this to display as it does there, in an email? I need to have the javascript and css work. Right now, neither do.


RE: html in email by ShawnZ on 09-30-2007 at 01:08 AM

they won't :p


RE: html in email by Supersonicdarky on 09-30-2007 at 02:30 AM

can it be done with an iframe?


RE: html in email by markee on 09-30-2007 at 02:42 AM

Why don't you just use the style attribute instead of the CSS and set the date when it is created (which is what should happen anyway or else it will update every day for the person and won't show the reader when the newsletter was relevant).

And in the future when you make an array in javascript you can just set all of the elements with base zero straight away and this will work perfectly with the months (no need to add 1).


RE: html in email by Adeptus on 09-30-2007 at 03:18 AM

You may find this helpful regarding CSS support in HTML email.  Depending on the service/client, the support can range from basically the same as a modern browser, to almost none.  I had to deal with that for a work project last year and my short advice to you would be -- use as basic CSS as possible, use it in style attributes instead of relying on selectors.

Javascript in email is something you shouldn't even attempt.  It has been the source of many exploits in past and most modern clients will simply not execute it or severely limit what it can do.