Post

4 followers Follow
1
Avatar

Repeated HTML font code

We export the HTML to import into a third party emailing platform. I have noticed that the HTML seems bloated. If I create a single column template and add a text module then adjust the text size the code declare 3 different font size and line height values:

"....<div style="font-size:12px;line-height:14px;color:#555555;font-family:'Ubuntu', Tahoma, Verdana, Segoe, sans-serif;text-align:left;">
<p style="margin: 0;font-size: 14px;line-height: 17px">
<span style="font-size: 13px; line-height: 15px;">I'm a new Text block ready for your content.</span>
</p>
</div>...."

Is this necessary? 

 

Thanks

 

David Crane

Please sign in to leave a comment.

4 comments

1
Avatar

Hi David

I posed a similar question just now....

 

Font Size and Line Height issues on export

Hi Team,

I wanted to let you know I am having issues on export with the base font size of 12px and 14px, as well as the base line-height of 21 exporting on the outside div.

This is a constant on all exports even though I change the font size to 16 or 18 and the line height to 29.

My current solution is taking my BeePro exports into Dreamweaver or brackets and deleting or using find and replace the base font sizes and line heights because if I leave them in some email clients, such as Outlook, will read those instead, therefore causing my email to read funny.

Here is a screenshot...

Shawn Parker 1 vote
Comment actions Permalink
1
Avatar

Hi David and Shawn, 

I have submit this to the development team to review.

Matt Weber 1 vote
Comment actions Permalink
0
Avatar

David,

Just confirming my team is seeing the same formatting bloat in the exported HTML. First, I suspected the problem was formatting carried over from Google Docs or MS Word. However, after copying and pasting raw text from Notepad, I see BeePro resets any text to the default font *but* at the predetermined font size of 12 pixels. After a few rounds of edits, the HTML is a hot mess. It'd be great if we could preset the text size and have BeeFree honor those settings.

Shalom,
Luke

lrobinso 0 votes
Comment actions Permalink
0
Avatar

Hi Luke,

My company uses a few different email clients and I've noticed that the line height percentage seems to make the emails compliant in Outlook.

When I tested sending an email removing the percentage line heights (line-height: 180%) the email will default to the original line-height of 22px or in some cases 14px, in Outlook only (Gmail/Yahoo read the line-height I set). This happens even when my original line-height of 24px or 29px is set.

I know Outlook is a mess and trying to design a wysiwyg to be complaint in the top email clients is tricky considering the differences in how each client reads the html. 

Unfortunately most of our clients open their emails in Outlook and it varies from different versions.

Shawn

Shawn Parker 0 votes
Comment actions Permalink