Le 14 janv. 07 à 18:40 Soir, Stefan a écrit:

Am 14.01.2007 um 17:57 schrieb Glenn L. Austin:

Responses inline:

On Jan 14, 2007, at 6:08 AM, Arnaud Nicolet wrote:

Do you know of a -relatively- simple way to convert styled text (from an editfield where fonts, fontsizes, colours and styles are supported, with the "styled" property checked) to an HTML form? I'd think if every character has different sizes and colours (a joyful e-mail), you get <FONT SIZE> and <FONT> very often. By the way, the <FONT SIZE=x> is not the real size (e.g. 12), correct?
What if my e-mail contains text at 72 pts?

You'd have to "include" some CSS to specify exact font sizes, and you probably want to use px (pixel height) instead of pt ("point" height). That way, 72px is 1 inch high on all platforms, but 72pt is actually 96 pixels high on Windows (in fact, every font on Windows is exactly 96/72 pixels larger than the typography standard "point").

I'd propose to use 'em' values for setting sizes. 'em' is the relative size of the 'e' letter.
To get something 50% larger than the 'e', use a value of '1.5em'.

I simply want to send styled text as simply as possible.

To get started, it might be best to use 'px' or 'pt' as the size of 'body' and then,
for all other DOM objects, 'em'.

I have nothing else than the 'body' part of my e-mail to style. I won't style the subject (if it's even possible).
It does not seem simple to "simply" sending styled e-mails.
Thank you._______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to