SparkPost / heml

HEML is an open source markup language for building responsive email.
https://heml.io
MIT License
4.33k stars 157 forks source link

All browsers and Word support floating images using the "align" attribute #4

Open FremyCompany opened 6 years ago

FremyCompany commented 6 years ago

Currently the safe HEML subset does not include any facility to float things on the side of a body of text, but floating images is widely supported as long as you use the "align" attribute (in particular Word supports this attribute).

It would maybe be worth adding a css rewrite rule to support this? https://twitter.com/FremyCompany/status/923992137791926272

avigoldman commented 6 years ago

Yeah, definitely worth doing as a CSS rule here. I'll write up a couple of test emails and open a PR on this.

switch13 commented 2 years ago

Was this ever implemented? I could use it right now due to the fact that everything is left aligned and there doesn't seem to be a way to override that.