Another thing to remember with HTML emails is to try to use the oldest HTML code you can. Many mail clients don't do well with css, so the more "old" html you use the more reliable your results across mail clients. For HTML emails it's table time!
On Thu, Sep 22, 2011 at 2:13 PM, C. Hatton Humphrey <[email protected]>wrote: > > Okay, then I think I'm going to stick with the <pre> solution that I > have in place now. My fear was that it might not be interpreted > correctly by some webmail or oddball email clients. > > The reason I have to do this is that we had a recipient get the email > (sent out as plain text originally) but their client applied a > variable-width font. The content is padded to line up based on > fixed-width spacing. > > Looked pretty bad. > > Until Later! > C. Hatton Humphrey > http://www.eastcoastconservative.com > > No trees were killed in the sending of this message, but a large > number of electrons were terribly inconvenienced. > > > > On Thu, Sep 22, 2011 at 1:31 PM, Medic <[email protected]> wrote: > > > > pre will also interpret chr(10)chr(13) as <br>, whereas just a div using > a > > fixed width font will not. > > > > > > On Thu, Sep 22, 2011 at 10:07 AM, C. Hatton Humphrey < > [email protected]>wrote: > > > >> > >> I'm sending out emails from an application and based on the rules, the > >> text needs to come out fixed width to have things look nice. That I > >> know of, there are two ways to guarantee this will happen, both using > >> HTML formatting: > >> > >> 1. Wrap the text with PRE tags. > >> 2. Wrap the text with a div that forces font: courier new. > >> > >> Which is the better solution for this? > >> > >> Until Later! > >> C. Hatton Humphrey > >> http://www.eastcoastconservative.com > >> > >> No trees were killed in the sending of this message, but a large > >> number of electrons were terribly inconvenienced. > >> > >> > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:342942 Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-community/unsubscribe.cfm
