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

This widget could not be displayed.
Peter Bengov Community Champion Dec 01, 2014

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

This widget could not be displayed.
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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

173 views 2 0
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