Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HTML code to indent
Message
From
28/10/2022 00:12:33
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
HTML5
Category:
HTML
Miscellaneous
Thread ID:
01685158
Message ID:
01685168
Views:
40
Likes (1)
>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.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform