[Printable]
Share

How to Make ASCII art work in Email Signature

Posted: Sun 8th February 2015 in Blog
Position: 12° 26.3' S, 130° 50.4' E

For years I've had a crappy home ASCII art signature in my email - it only works on REALLY old computers. Not that I ever cared. for years I kept my email to ASCII not HTML

Partly this is becasue HTML in email was crap, bloody awful and didn't work, this is largely still the case. Writing websites that render has got easier, but getting emails to render is still are nightmare.

Ascii doesn't display in HTML, multiple spaces are removed, etc etc etc. yes you can replace spaces with   but its messy

Simlest way that seems to work is wrap the art in in <pre> and wrap that in a <span> with inline fixed width font styles.

<span style="font-family:'Courier New', Courier, monospace">
<pre>
_ _ _ _
___ __ __ ____ ___ | |__ (_)_ __ _ __ (_) __ ___ __ | |_
/ _ \ / _|/ _|/ _' |/ _ \| |_ \| | '_ \| '_ \| |/ _| / _ \ / _|| '_|
| (_) | (_| |-- (_| | | | | | | | | (_) | (_) | | |-- _ | | | | |--| |_
\___/ \__|\__/___'_|_| | |_| |_|_| |__/| |__/|_|\|_/(_)| | | |\__/ \__|
the world is flat............ |_| |_| http://www.oceanhippie.net
Skype: oceanhippie oceanhippie@yahoo.com

Order of the Ditch,
Order of the Golden Dragon,
Certified Bush Mechanic, King of Redonda
</pre>
</span>

looks like:

                           _     _             _                    _
  ___   __  __  ____  ___ | |__ (_)_ __  _ __ (_) __      ___   __ | |_
 / _ \ / _|/ _|/ _' |/ _ \| |_ \| | '_ \| '_ \| |/ _|    / _ \ / _|| '_|
| (_) | (_| |-- (_| | | | | | | | | (_) | (_) | | |-- _ | | | | |--| |_
 \___/ \__|\__/___'_|_| | |_| |_|_| |__/| |__/|_|\|_/(_)| | | |\__/ \__|
  the world is flat............   |_|   |_| http://www.oceanhippie.net
  Skype: oceanhippie                        oceanhippie@yahoo.com

Order of the Ditch,
Order of the Golden Dragon,
Certified Bush Mechanic, King of Redonda
[Printable]
Share

How to Make ASCII art work in Email Signature

Posted: Sun 8th February 2015 in Blog
Position: 12° 26.3' S, 130° 50.4' E

How to Make ASCII art work in Email Signature

For years I've had a crappy home ASCII art signature in my email - it only works on REALLY old computers. Not that I ever cared. for years I kept my email to ASCII not HTML

Partly this is becasue HTML in email was crap, bloody awful and didn't work, this is largely still the case. Writing websites that render has got easier, but getting emails to render is still are nightmare.

Ascii doesn't display in HTML, multiple spaces are removed, etc etc etc. yes you can replace spaces with &nbsp; but its messy

Simlest way that seems to work is wrap the art in in <pre> and wrap that in a <span> with inline fixed width font styles.

<span style="font-family:'Courier New', Courier, monospace">
<pre>
_ _ _ _
___ __ __ ____ ___ | |__ (_)_ __ _ __ (_) __ ___ __ | |_
/ _ \ / _|/ _|/ _' |/ _ \| |_ \| | '_ \| '_ \| |/ _| / _ \ / _|| '_|
| (_) | (_| |-- (_| | | | | | | | | (_) | (_) | | |-- _ | | | | |--| |_
\___/ \__|\__/___'_|_| | |_| |_|_| |__/| |__/|_|\|_/(_)| | | |\__/ \__|
the world is flat............ |_| |_| http://www.oceanhippie.net
Skype: oceanhippie oceanhippie@yahoo.com

Order of the Ditch,
Order of the Golden Dragon,
Certified Bush Mechanic, King of Redonda
</pre>
</span>

looks like:

                           _     _             _                    _
  ___   __  __  ____  ___ | |__ (_)_ __  _ __ (_) __      ___   __ | |_
 / _ \ / _|/ _|/ _' |/ _ \| |_ \| | '_ \| '_ \| |/ _|    / _ \ / _|| '_|
| (_) | (_| |-- (_| | | | | | | | | (_) | (_) | | |-- _ | | | | |--| |_
 \___/ \__|\__/___'_|_| | |_| |_|_| |__/| |__/|_|\|_/(_)| | | |\__/ \__|
  the world is flat............   |_|   |_| http://www.oceanhippie.net
  Skype: oceanhippie                        oceanhippie@yahoo.com

Order of the Ditch,
Order of the Golden Dragon,
Certified Bush Mechanic, King of Redonda