Note that there are some explanatory texts on larger screens.

plurals
  1. POE-mail newsletters: how do I keep line height for headers consistent?
    primarykey
    data
    text
    <p>I have been navigating the briar patch that is e-mail newsletter design and coding. One problem keeps on coming up: the line-height of my headings is inconsistent between different e-mail clients.</p> <p>One set gives a lot of space to a heading, among them Gmail and iPhone: <img src="https://i.stack.imgur.com/uovZV.gif" alt="newsletter in Gmail"></p> <p>The other group, mainly Outlook, renders headings with way less leeway: <img src="https://i.stack.imgur.com/Ftwtk.gif" alt="enter image description here"></p> <p>My code is as follows:</p> <pre><code>&lt;table width="540" cellpadding="0" cellspacing="0" border="0"&gt; &lt;tr&gt; &lt;td colspan="5" width="270" height="7" style="line-height: 7px;"&gt;&lt;img src="img/shading-top-orange.gif" width="270" height="7" style="display:block;"&gt;&lt;/td&gt; &lt;td rowspan="3" width="270" height="199"&gt;&lt;img editable width="270" height="199" style="display:block;"&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr bgcolor="#f68b1f" &gt; &lt;td width="10" height="185"&gt;&lt;img src="img/shading-left-large.gif" width="10" height="185" style="display:block;"&gt;&lt;/td&gt; &lt;td width="15" height="185" bgcolor="#f68b1f"&gt;&lt;/td&gt; &lt;td width="223" height="185" bgcolor="#f68b1f" align="left" valign="top"&gt;&lt;a name="item2" style="text-decoration: none;"&gt;&lt;h2 style="font-family: Arial, Verdana, sans-serif; font-size: 15px; color: white !important; color:white;"&gt;&lt;singleline label="Title" repeatertitle="true" style="color: white;"&gt;Lorem ipsum&lt;/singleline&gt;&lt;/h2&gt;&lt;/a&gt;&lt;multiline&gt;&lt;p style="font-family: Arial, Verdana, sans-serif; font-size: 12px; color: white;"&gt;Lorem ipsum dolor sit amet&lt;/p&gt;&lt;/multiline&gt;&lt;/td&gt; &lt;td width="15" height="185" bgcolor="#f68b1f"&gt;&lt;/td&gt; &lt;td width="7" height="185"&gt;&lt;img src="img/shading-right-small.gif" width="7" height="185" style="display: block;"&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td colspan="5" width="270" height="7" style="line-height: 7px;"&gt;&lt;img src="img/shading-bottom-orange.gif" width="270" height="7" style="display:block;"&gt;&lt;/td&gt; &lt;/tr&gt; </code></pre> <p></p> <p>with the newletter application filling in the text as needed.</p> <p>How can I code this piece in such a way that all (or most) clients render the title as in Gmail? I have tried lots of things like adding another nested table for just the heading, giving it an orange top border, etc. These fixes also influence the Gmail rendering and that's not what I want.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload