How can I change the line spacing for one paragraph in an HTML email template?Can HTML checkboxes be set to readonly?How to change an element's class with JavaScript?How can I know which radio button is selected via jQuery?What characters can be used for up/down triangle (arrow without stem) for display in HTML?How to create an HTML button that acts like a link?How can I set the default value for an HTML <select> element?Can I set subject/content of email using mailto:?How do I remove the space between inline-block elements?How do I reformat HTML code using Sublime Text 2?Cannot display HTML string
Sleeping solo in a double sleeping bag
How would one country purchase another?
Is it possible to create a golf ball sized star?
Why does The Ancient One think differently about Doctor Strange in Endgame than the film Doctor Strange?
Why don't we use Cavea-B
Three Singles in Three Clubs
Can pay be witheld for hours cleaning up after closing time?
Fancy String Replace
Defense against attacks using dictionaries
Church Booleans
Justifying the use of directed energy weapons
The teacher logged me in as administrator for doing a short task, is the whole system now compromised?
Efficiently pathfinding many flocking enemies around obstacles
Script that helps people make better choices
Would it be possible to have a GMO that produces chocolate?
LeetCode: Pascal's Triangle C#
Configurable API Version for Anonymous Blocks?
Science fiction short story where aliens contact a drunk about Earth's impending destruction
What magic extends life or grants immortality?
Was Switzerland really impossible to invade during WW2?
Gamma GLM - Derive prediction intervals for new x_i
Why does my house heat up, even when it's cool outside?
On the feasibility of space battleships
How to write triplets in 4/4 time without using a 3 on top of the notes all the time
How can I change the line spacing for one paragraph in an HTML email template?
Can HTML checkboxes be set to readonly?How to change an element's class with JavaScript?How can I know which radio button is selected via jQuery?What characters can be used for up/down triangle (arrow without stem) for display in HTML?How to create an HTML button that acts like a link?How can I set the default value for an HTML <select> element?Can I set subject/content of email using mailto:?How do I remove the space between inline-block elements?How do I reformat HTML code using Sublime Text 2?Cannot display HTML string
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I would like to add html commands just before and just after a set of lines, that would reduce the spacing between the lines. Commands I've found on Internet sites don't work, or they need to be within other commands.
Commands I've found on Internet sites don't work, or they need to be within other commands. I tried commands such as line-height=50%.
Here is the result
Business Analyst:
User Testing Resources:
Here is the code:
<html><head>
<meta name="generator" content= "HTML Tidy for Linux/x86 (vers 25 March 2009), see www.w3.org">
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<title>$BEGINSUBJECT()$NOTIFICATION() - $ITEMNUMBER()$FIELDVALUE(ID) $TTID()$ENDSUBJECT()</title>
<style type="text/css">
body font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; font-weight: normal; font-size:12px;
a.attachlink:link color: #0000FF
a.attachlink:visited color: #0000FF
a.attachlink:hover color: #006600
.itemTitle font-size:120%; padding: 0px; color: #FFFFFF; border-bottom:thin solid Navy; background-color: Navy;
.itemColor color: #FFFFFF;
td padding:4px; vertical-align:top;
td.sidebar color: #333;
.fieldNames color: #333; white-space:nowrap; font-weight: bold;
.footer color: #818181; font-size:80%; font-style: italic;
.greyborderbackground-color:#f7f7f7; border:thin #999 solid; width:auto;
</style></head>
<body> <table> <tbody><tr> <td> <table class="itemTitle"> <tbody><tr> <td class="itemColor">
<b>$ITEMNUMBER()$FIELDVALUE(ID)</b> ($FIELDVALUE(TITLE)) <b>Requires Action</b> </td> </tr> </tbody></table> </td> </tr> <tr> <td> <b> <table width="100%">
Please transition <b>$ITEMNUMBER()$FIELDVALUE(ID)</b> in state <b>$FIELDVALUE(STATE).</b><br> <br>
To open $ITEMNUMBER()$FIELDVALUE(ID) $LINK(TRUE, click here.) <font color="#ff0000">
Your prompt attention to this request is greatly appreciated.</font></td></tr> <tr><td> $IF(CANVIEW)<b>
$FIELDS(1) <tr> <td>
<font color="#FF0000">This is a SYSTEM GENERATED EMAIL. Please do not reply.<br></font></tr></td><tr><td>
Thank you! <br> </td> </tr> </tbody></table> <hr color="navy"> <br> <font color="#d0d0d0" size="1">
Reference: $NOTIFICATION()</font></body></html>
html
add a comment |
I would like to add html commands just before and just after a set of lines, that would reduce the spacing between the lines. Commands I've found on Internet sites don't work, or they need to be within other commands.
Commands I've found on Internet sites don't work, or they need to be within other commands. I tried commands such as line-height=50%.
Here is the result
Business Analyst:
User Testing Resources:
Here is the code:
<html><head>
<meta name="generator" content= "HTML Tidy for Linux/x86 (vers 25 March 2009), see www.w3.org">
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<title>$BEGINSUBJECT()$NOTIFICATION() - $ITEMNUMBER()$FIELDVALUE(ID) $TTID()$ENDSUBJECT()</title>
<style type="text/css">
body font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; font-weight: normal; font-size:12px;
a.attachlink:link color: #0000FF
a.attachlink:visited color: #0000FF
a.attachlink:hover color: #006600
.itemTitle font-size:120%; padding: 0px; color: #FFFFFF; border-bottom:thin solid Navy; background-color: Navy;
.itemColor color: #FFFFFF;
td padding:4px; vertical-align:top;
td.sidebar color: #333;
.fieldNames color: #333; white-space:nowrap; font-weight: bold;
.footer color: #818181; font-size:80%; font-style: italic;
.greyborderbackground-color:#f7f7f7; border:thin #999 solid; width:auto;
</style></head>
<body> <table> <tbody><tr> <td> <table class="itemTitle"> <tbody><tr> <td class="itemColor">
<b>$ITEMNUMBER()$FIELDVALUE(ID)</b> ($FIELDVALUE(TITLE)) <b>Requires Action</b> </td> </tr> </tbody></table> </td> </tr> <tr> <td> <b> <table width="100%">
Please transition <b>$ITEMNUMBER()$FIELDVALUE(ID)</b> in state <b>$FIELDVALUE(STATE).</b><br> <br>
To open $ITEMNUMBER()$FIELDVALUE(ID) $LINK(TRUE, click here.) <font color="#ff0000">
Your prompt attention to this request is greatly appreciated.</font></td></tr> <tr><td> $IF(CANVIEW)<b>
$FIELDS(1) <tr> <td>
<font color="#FF0000">This is a SYSTEM GENERATED EMAIL. Please do not reply.<br></font></tr></td><tr><td>
Thank you! <br> </td> </tr> </tbody></table> <hr color="navy"> <br> <font color="#d0d0d0" size="1">
Reference: $NOTIFICATION()</font></body></html>
html
1
A working example would be useful here with a closing table tag and the css you're currently using.
– justDan
Mar 27 at 16:30
add a comment |
I would like to add html commands just before and just after a set of lines, that would reduce the spacing between the lines. Commands I've found on Internet sites don't work, or they need to be within other commands.
Commands I've found on Internet sites don't work, or they need to be within other commands. I tried commands such as line-height=50%.
Here is the result
Business Analyst:
User Testing Resources:
Here is the code:
<html><head>
<meta name="generator" content= "HTML Tidy for Linux/x86 (vers 25 March 2009), see www.w3.org">
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<title>$BEGINSUBJECT()$NOTIFICATION() - $ITEMNUMBER()$FIELDVALUE(ID) $TTID()$ENDSUBJECT()</title>
<style type="text/css">
body font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; font-weight: normal; font-size:12px;
a.attachlink:link color: #0000FF
a.attachlink:visited color: #0000FF
a.attachlink:hover color: #006600
.itemTitle font-size:120%; padding: 0px; color: #FFFFFF; border-bottom:thin solid Navy; background-color: Navy;
.itemColor color: #FFFFFF;
td padding:4px; vertical-align:top;
td.sidebar color: #333;
.fieldNames color: #333; white-space:nowrap; font-weight: bold;
.footer color: #818181; font-size:80%; font-style: italic;
.greyborderbackground-color:#f7f7f7; border:thin #999 solid; width:auto;
</style></head>
<body> <table> <tbody><tr> <td> <table class="itemTitle"> <tbody><tr> <td class="itemColor">
<b>$ITEMNUMBER()$FIELDVALUE(ID)</b> ($FIELDVALUE(TITLE)) <b>Requires Action</b> </td> </tr> </tbody></table> </td> </tr> <tr> <td> <b> <table width="100%">
Please transition <b>$ITEMNUMBER()$FIELDVALUE(ID)</b> in state <b>$FIELDVALUE(STATE).</b><br> <br>
To open $ITEMNUMBER()$FIELDVALUE(ID) $LINK(TRUE, click here.) <font color="#ff0000">
Your prompt attention to this request is greatly appreciated.</font></td></tr> <tr><td> $IF(CANVIEW)<b>
$FIELDS(1) <tr> <td>
<font color="#FF0000">This is a SYSTEM GENERATED EMAIL. Please do not reply.<br></font></tr></td><tr><td>
Thank you! <br> </td> </tr> </tbody></table> <hr color="navy"> <br> <font color="#d0d0d0" size="1">
Reference: $NOTIFICATION()</font></body></html>
html
I would like to add html commands just before and just after a set of lines, that would reduce the spacing between the lines. Commands I've found on Internet sites don't work, or they need to be within other commands.
Commands I've found on Internet sites don't work, or they need to be within other commands. I tried commands such as line-height=50%.
Here is the result
Business Analyst:
User Testing Resources:
Here is the code:
<html><head>
<meta name="generator" content= "HTML Tidy for Linux/x86 (vers 25 March 2009), see www.w3.org">
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<title>$BEGINSUBJECT()$NOTIFICATION() - $ITEMNUMBER()$FIELDVALUE(ID) $TTID()$ENDSUBJECT()</title>
<style type="text/css">
body font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; font-weight: normal; font-size:12px;
a.attachlink:link color: #0000FF
a.attachlink:visited color: #0000FF
a.attachlink:hover color: #006600
.itemTitle font-size:120%; padding: 0px; color: #FFFFFF; border-bottom:thin solid Navy; background-color: Navy;
.itemColor color: #FFFFFF;
td padding:4px; vertical-align:top;
td.sidebar color: #333;
.fieldNames color: #333; white-space:nowrap; font-weight: bold;
.footer color: #818181; font-size:80%; font-style: italic;
.greyborderbackground-color:#f7f7f7; border:thin #999 solid; width:auto;
</style></head>
<body> <table> <tbody><tr> <td> <table class="itemTitle"> <tbody><tr> <td class="itemColor">
<b>$ITEMNUMBER()$FIELDVALUE(ID)</b> ($FIELDVALUE(TITLE)) <b>Requires Action</b> </td> </tr> </tbody></table> </td> </tr> <tr> <td> <b> <table width="100%">
Please transition <b>$ITEMNUMBER()$FIELDVALUE(ID)</b> in state <b>$FIELDVALUE(STATE).</b><br> <br>
To open $ITEMNUMBER()$FIELDVALUE(ID) $LINK(TRUE, click here.) <font color="#ff0000">
Your prompt attention to this request is greatly appreciated.</font></td></tr> <tr><td> $IF(CANVIEW)<b>
$FIELDS(1) <tr> <td>
<font color="#FF0000">This is a SYSTEM GENERATED EMAIL. Please do not reply.<br></font></tr></td><tr><td>
Thank you! <br> </td> </tr> </tbody></table> <hr color="navy"> <br> <font color="#d0d0d0" size="1">
Reference: $NOTIFICATION()</font></body></html>
html
html
edited Mar 28 at 17:34
Philip Bustin
asked Mar 27 at 16:27
Philip BustinPhilip Bustin
11 bronze badge
11 bronze badge
1
A working example would be useful here with a closing table tag and the css you're currently using.
– justDan
Mar 27 at 16:30
add a comment |
1
A working example would be useful here with a closing table tag and the css you're currently using.
– justDan
Mar 27 at 16:30
1
1
A working example would be useful here with a closing table tag and the css you're currently using.
– justDan
Mar 27 at 16:30
A working example would be useful here with a closing table tag and the css you're currently using.
– justDan
Mar 27 at 16:30
add a comment |
2 Answers
2
active
oldest
votes
You want line-height
. Being that it is an email template this style
attribute needs to be applied on each element you need it on. The value is relative to the font-size, where 1 is equal to 100%, so if the font size is 16px
and line-height is set to 1.5
, that would be the same as saying line-height: 24px;
. Hope that makes sense!
<table>
<tr>
<td style="line-height: 1.6;">
<b>Some looser text in this row</b><br/>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer dignissim, dolor ac iaculis euismod, diam felis elementum nibh, et interdum augue odio eu est. Nam tempor sapien eu arcu tristique rhoncus. Cras magna orci, finibus eget est nec, pharetra elementum lectus.
</td>
</tr>
<tr>
<td style="line-height: 1.1;">
<b>Some tighter text in this row</b><br/>
In luctus, ex sit amet tincidunt maximus, neque sapien consequat lorem, quis sagittis sem neque eget massa. Donec tincidunt facilisis lacus sit amet mattis. Aliquam convallis, risus in tristique lacinia, nibh purus mollis justo, ut vestibulum dui mauris et libero. Nam purus quam, vestibulum sed velit nec, tempor posuere lacus. Fusce dignissim ac urna eget euismod. Aliquam erat volutpat.
</td>
</tr>
</table>
add a comment |
- A paragraph should be created using
<p> </p>
, and not using a table workaround. - you style each paragraph using
class="someClass"
(a css file). - if you want to indent something - wrap it with
<div></div>
and style it accordingly. Don't use
. usestyle = "margin : 20px"
or something like that.
Html is a hypertext language. If you are new to it I can recommend http://www.w3schools.com
Sorry--I have replaced the lines I had originally wanted to tighten up, with a tag - $FIELDS() - but I still wish to narrow the line-spacing between the lines beginning "Please transition" and "To open"; also between the lines at the bottom, beginning "This is a" and "Thank you".
– Philip Bustin
Mar 28 at 17:38
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55382128%2fhow-can-i-change-the-line-spacing-for-one-paragraph-in-an-html-email-template%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You want line-height
. Being that it is an email template this style
attribute needs to be applied on each element you need it on. The value is relative to the font-size, where 1 is equal to 100%, so if the font size is 16px
and line-height is set to 1.5
, that would be the same as saying line-height: 24px;
. Hope that makes sense!
<table>
<tr>
<td style="line-height: 1.6;">
<b>Some looser text in this row</b><br/>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer dignissim, dolor ac iaculis euismod, diam felis elementum nibh, et interdum augue odio eu est. Nam tempor sapien eu arcu tristique rhoncus. Cras magna orci, finibus eget est nec, pharetra elementum lectus.
</td>
</tr>
<tr>
<td style="line-height: 1.1;">
<b>Some tighter text in this row</b><br/>
In luctus, ex sit amet tincidunt maximus, neque sapien consequat lorem, quis sagittis sem neque eget massa. Donec tincidunt facilisis lacus sit amet mattis. Aliquam convallis, risus in tristique lacinia, nibh purus mollis justo, ut vestibulum dui mauris et libero. Nam purus quam, vestibulum sed velit nec, tempor posuere lacus. Fusce dignissim ac urna eget euismod. Aliquam erat volutpat.
</td>
</tr>
</table>
add a comment |
You want line-height
. Being that it is an email template this style
attribute needs to be applied on each element you need it on. The value is relative to the font-size, where 1 is equal to 100%, so if the font size is 16px
and line-height is set to 1.5
, that would be the same as saying line-height: 24px;
. Hope that makes sense!
<table>
<tr>
<td style="line-height: 1.6;">
<b>Some looser text in this row</b><br/>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer dignissim, dolor ac iaculis euismod, diam felis elementum nibh, et interdum augue odio eu est. Nam tempor sapien eu arcu tristique rhoncus. Cras magna orci, finibus eget est nec, pharetra elementum lectus.
</td>
</tr>
<tr>
<td style="line-height: 1.1;">
<b>Some tighter text in this row</b><br/>
In luctus, ex sit amet tincidunt maximus, neque sapien consequat lorem, quis sagittis sem neque eget massa. Donec tincidunt facilisis lacus sit amet mattis. Aliquam convallis, risus in tristique lacinia, nibh purus mollis justo, ut vestibulum dui mauris et libero. Nam purus quam, vestibulum sed velit nec, tempor posuere lacus. Fusce dignissim ac urna eget euismod. Aliquam erat volutpat.
</td>
</tr>
</table>
add a comment |
You want line-height
. Being that it is an email template this style
attribute needs to be applied on each element you need it on. The value is relative to the font-size, where 1 is equal to 100%, so if the font size is 16px
and line-height is set to 1.5
, that would be the same as saying line-height: 24px;
. Hope that makes sense!
<table>
<tr>
<td style="line-height: 1.6;">
<b>Some looser text in this row</b><br/>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer dignissim, dolor ac iaculis euismod, diam felis elementum nibh, et interdum augue odio eu est. Nam tempor sapien eu arcu tristique rhoncus. Cras magna orci, finibus eget est nec, pharetra elementum lectus.
</td>
</tr>
<tr>
<td style="line-height: 1.1;">
<b>Some tighter text in this row</b><br/>
In luctus, ex sit amet tincidunt maximus, neque sapien consequat lorem, quis sagittis sem neque eget massa. Donec tincidunt facilisis lacus sit amet mattis. Aliquam convallis, risus in tristique lacinia, nibh purus mollis justo, ut vestibulum dui mauris et libero. Nam purus quam, vestibulum sed velit nec, tempor posuere lacus. Fusce dignissim ac urna eget euismod. Aliquam erat volutpat.
</td>
</tr>
</table>
You want line-height
. Being that it is an email template this style
attribute needs to be applied on each element you need it on. The value is relative to the font-size, where 1 is equal to 100%, so if the font size is 16px
and line-height is set to 1.5
, that would be the same as saying line-height: 24px;
. Hope that makes sense!
<table>
<tr>
<td style="line-height: 1.6;">
<b>Some looser text in this row</b><br/>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer dignissim, dolor ac iaculis euismod, diam felis elementum nibh, et interdum augue odio eu est. Nam tempor sapien eu arcu tristique rhoncus. Cras magna orci, finibus eget est nec, pharetra elementum lectus.
</td>
</tr>
<tr>
<td style="line-height: 1.1;">
<b>Some tighter text in this row</b><br/>
In luctus, ex sit amet tincidunt maximus, neque sapien consequat lorem, quis sagittis sem neque eget massa. Donec tincidunt facilisis lacus sit amet mattis. Aliquam convallis, risus in tristique lacinia, nibh purus mollis justo, ut vestibulum dui mauris et libero. Nam purus quam, vestibulum sed velit nec, tempor posuere lacus. Fusce dignissim ac urna eget euismod. Aliquam erat volutpat.
</td>
</tr>
</table>
<table>
<tr>
<td style="line-height: 1.6;">
<b>Some looser text in this row</b><br/>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer dignissim, dolor ac iaculis euismod, diam felis elementum nibh, et interdum augue odio eu est. Nam tempor sapien eu arcu tristique rhoncus. Cras magna orci, finibus eget est nec, pharetra elementum lectus.
</td>
</tr>
<tr>
<td style="line-height: 1.1;">
<b>Some tighter text in this row</b><br/>
In luctus, ex sit amet tincidunt maximus, neque sapien consequat lorem, quis sagittis sem neque eget massa. Donec tincidunt facilisis lacus sit amet mattis. Aliquam convallis, risus in tristique lacinia, nibh purus mollis justo, ut vestibulum dui mauris et libero. Nam purus quam, vestibulum sed velit nec, tempor posuere lacus. Fusce dignissim ac urna eget euismod. Aliquam erat volutpat.
</td>
</tr>
</table>
<table>
<tr>
<td style="line-height: 1.6;">
<b>Some looser text in this row</b><br/>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer dignissim, dolor ac iaculis euismod, diam felis elementum nibh, et interdum augue odio eu est. Nam tempor sapien eu arcu tristique rhoncus. Cras magna orci, finibus eget est nec, pharetra elementum lectus.
</td>
</tr>
<tr>
<td style="line-height: 1.1;">
<b>Some tighter text in this row</b><br/>
In luctus, ex sit amet tincidunt maximus, neque sapien consequat lorem, quis sagittis sem neque eget massa. Donec tincidunt facilisis lacus sit amet mattis. Aliquam convallis, risus in tristique lacinia, nibh purus mollis justo, ut vestibulum dui mauris et libero. Nam purus quam, vestibulum sed velit nec, tempor posuere lacus. Fusce dignissim ac urna eget euismod. Aliquam erat volutpat.
</td>
</tr>
</table>
answered Mar 27 at 17:05
BugsArePeopleTooBugsArePeopleToo
2,1471 gold badge9 silver badges12 bronze badges
2,1471 gold badge9 silver badges12 bronze badges
add a comment |
add a comment |
- A paragraph should be created using
<p> </p>
, and not using a table workaround. - you style each paragraph using
class="someClass"
(a css file). - if you want to indent something - wrap it with
<div></div>
and style it accordingly. Don't use
. usestyle = "margin : 20px"
or something like that.
Html is a hypertext language. If you are new to it I can recommend http://www.w3schools.com
Sorry--I have replaced the lines I had originally wanted to tighten up, with a tag - $FIELDS() - but I still wish to narrow the line-spacing between the lines beginning "Please transition" and "To open"; also between the lines at the bottom, beginning "This is a" and "Thank you".
– Philip Bustin
Mar 28 at 17:38
add a comment |
- A paragraph should be created using
<p> </p>
, and not using a table workaround. - you style each paragraph using
class="someClass"
(a css file). - if you want to indent something - wrap it with
<div></div>
and style it accordingly. Don't use
. usestyle = "margin : 20px"
or something like that.
Html is a hypertext language. If you are new to it I can recommend http://www.w3schools.com
Sorry--I have replaced the lines I had originally wanted to tighten up, with a tag - $FIELDS() - but I still wish to narrow the line-spacing between the lines beginning "Please transition" and "To open"; also between the lines at the bottom, beginning "This is a" and "Thank you".
– Philip Bustin
Mar 28 at 17:38
add a comment |
- A paragraph should be created using
<p> </p>
, and not using a table workaround. - you style each paragraph using
class="someClass"
(a css file). - if you want to indent something - wrap it with
<div></div>
and style it accordingly. Don't use
. usestyle = "margin : 20px"
or something like that.
Html is a hypertext language. If you are new to it I can recommend http://www.w3schools.com
- A paragraph should be created using
<p> </p>
, and not using a table workaround. - you style each paragraph using
class="someClass"
(a css file). - if you want to indent something - wrap it with
<div></div>
and style it accordingly. Don't use
. usestyle = "margin : 20px"
or something like that.
Html is a hypertext language. If you are new to it I can recommend http://www.w3schools.com
answered Mar 27 at 17:02
LongChalkLongChalk
2362 silver badges6 bronze badges
2362 silver badges6 bronze badges
Sorry--I have replaced the lines I had originally wanted to tighten up, with a tag - $FIELDS() - but I still wish to narrow the line-spacing between the lines beginning "Please transition" and "To open"; also between the lines at the bottom, beginning "This is a" and "Thank you".
– Philip Bustin
Mar 28 at 17:38
add a comment |
Sorry--I have replaced the lines I had originally wanted to tighten up, with a tag - $FIELDS() - but I still wish to narrow the line-spacing between the lines beginning "Please transition" and "To open"; also between the lines at the bottom, beginning "This is a" and "Thank you".
– Philip Bustin
Mar 28 at 17:38
Sorry--I have replaced the lines I had originally wanted to tighten up, with a tag - $FIELDS() - but I still wish to narrow the line-spacing between the lines beginning "Please transition" and "To open"; also between the lines at the bottom, beginning "This is a" and "Thank you".
– Philip Bustin
Mar 28 at 17:38
Sorry--I have replaced the lines I had originally wanted to tighten up, with a tag - $FIELDS() - but I still wish to narrow the line-spacing between the lines beginning "Please transition" and "To open"; also between the lines at the bottom, beginning "This is a" and "Thank you".
– Philip Bustin
Mar 28 at 17:38
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55382128%2fhow-can-i-change-the-line-spacing-for-one-paragraph-in-an-html-email-template%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
A working example would be useful here with a closing table tag and the css you're currently using.
– justDan
Mar 27 at 16:30