kitster79 — 2008-10-01T16:58:18-04:00 — #1
I am creating an HTML email so I'm trying to avoid using any css. I am having trouble adding a line height attribute to text .I have pasted below the code I have so far. The font, size, and color are all working but the line height is not. Can anyone help?
<font face="Verdana, Arial, Helvetica, sans-serif" size="2" line-height="12px" color=##3B4E61 >Friday, September 26, 2008</font>
felgall — 2008-10-01T17:03:58-04:00 — #2
The font tag only has ace color and size attributes - there is no way of defining a line height directly in HTML.
kitster79 — 2008-10-01T17:13:15-04:00 — #3
rochow — 2008-10-01T18:13:59-04:00 — #4
Nope. Your best shot will be something like:
<font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#3B4E61"><span style="line-height:16px">Friday, September 26, 2008</span></font>
Just keep referencing to this when coding email templates, you can quickly check if something is going to work (such as margin, have to use padding for better compatibility across clients)
cooper_semantics — 2008-10-02T01:04:30-04:00 — #5
Yeah, campaignmonitor is a good reference to abide by.
blake_tallos — 2008-10-03T16:11:17-04:00 — #6
berika123 — 2008-10-11T06:04:45-04:00 — #7
HTML, an initialism of HyperText Markup Language, is the predominant markup language for Web pages. It provides a means to describe the structure of text-based information in a document — by denoting certain text as links, headings, paragraphs, lists, and so on