You are viewing limited content. For full access, please sign in.

Question

Question

css setting within workflow

asked on April 15, 2014

I am composing e-mails within workflow but they seem to get formatted strangely on the actual send.

 

This main applies when using HTLM tags within the message, Things like <b> <Font color="red"> work perfectly find. However i am running into problems when using <ul> to get bulleted lists. The workflow seems to be adding a space between each <li> for no apparent reason that i can fathom. Running the same thing through a html test thing works fine.( http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_lists4 )

 

just wondering if there is a background CSS controlling workflow or anything that i am able to edit.

0 0

Answer

SELECTED ANSWER
replied on April 15, 2014

I figured it out... I had to completely ignore proper programming format.

 

So when i had 

 

<ul>

<li>item1</li>

<li>item2</li>

<li>item3</li>

</ul>

 

Which would be the normal way to do this. But writing the e-mail body in workflow doesn't care for proper formatting and actually assumes you want more break points.

 

<ul><li>item1</li><li>item2</li><li>item3</li></ul>

 

Doing this and getting rid of any spaces that aren't in the text made it work properly.

 

 

3 0

Replies

replied on April 15, 2014

Workflow does not modify the contents of the message body field except to interpret tokens. It's possible that it's getting interpreted differently by your mail client or there is an issue with the HTML that you are trying to use. Can you post the HTML that you are putting into the email?

0 0
replied on April 15, 2014

Yea the problem i had was trying to write it proper like in a real program or web page, which workflow interpreted completely differently

0 0
replied on April 15, 2014

The email editor in Workflow adds break tags at the end of each line in order to properly display lines.

1 0
replied on April 15, 2014

Yea i figured that out trying pretty much everything else randomly to get it to work =)

0 0
replied on April 15, 2014

Ah, this makes sense. Of course, then if you have Outlook, it comes along and strips out the extra line breaks. You can't win. ;)

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.