Why, when I try to add my own HTML, it added more styles CSS?

For example:

 

I add:

<p>test text</p>

 

but eventually comes to the mailbox:

<p style="margin: 10px 0 0 0">test text</p>

2 answers

Maybe there are styles you inherit from JIRA / Mail Handlers's templates.

You could try to override the styles with some !Important calls. Didn't test this myself, so not sure it will work.

I didn't find additional styles in JIRA templates

0 vote
Chris Fuller Atlassian Team Dec 01, 2014

The short answer is "Microsoft Outlook".

Not all mail clients support the use of Cascading Style Sheets.  Atlassian products use a library called BotoCSS (https://bitbucket.org/mryall/botocss) to inline the styles from .css into the HTML elements when rendering an email to make sure that even broken mail clients will be able to render them as closely as possible to how a web browser would, even the broken old ones like Outlook that don't handle .css correctly.

I can't find Botocss styles in my templates(

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,296 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot