Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HTML code to indent
Message
From
28/10/2022 07:34:25
 
 
To
28/10/2022 00:12:33
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
HTML5
Category:
HTML
Miscellaneous
Thread ID:
01685158
Message ID:
01685174
Views:
40
>>Hi,
>>
>>In my web application I send an email using an html template. Basically the file EmailTemplate.html has the following content (simplified):
>>
>><p>
>>Building:   [BUILDING]
>>Floor: [FLOOR]
>>Room: [ROOM]
>></p>
>>
>>
>>At run time, the web application replaced the place holders, like [BUILDING] with the actual value of the building.
>>The result in the email is:
>>
>>Building: MAIN
>>Floor: 5
>>Room: 5010
>>
>>
>>What kind of the HTML code I should insert in between the Building: and [BUILDING] (and others) to make the value to be indented? That is, so that MAIN, 5, 5010 would be vertically aligned?
>>
>>TIA
>
>Hi Dimitry
>tl;dr
>A <div> block with some margins should do.
>/tl;dr
>
>
>Anyway, don't miss a readable text part of your message. Consider to just send plain text with pdf attached, this is readable for anybody, and much more secure. I would never turn on HTML mail. Much cheaper and much more effective then anti-maleware-snake-oil.

Thank you, Lutz.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform