Is there a reason that you can't specify text alignment on a td when sending a HTML message in the hipchat api

I am sending an html table in a room notification through the HipChat api and want some of the columns to be right aligned, but there is currently no way of doing this that i can see.

At the moment I am using transparent characters to space the values across to align them, which really isn't ideal.

Does anyone know of a better way to do this? OR can the style attribute be added to the TD element whitelist so the text-align can be specified.


1 answer

Hi Richard, the <span> element supports the "style" attribute, maybe you could nest a span in the TD?

Suggest an answer

Log in or Join to answer
Community showcase
Maarten Cautreels
Published Oct 07, 2017 in Hipchat

Bringing Structure to your HipChat Instance

...have mention name FirstnameLastname. Fe.: @MaartenCautreels This certainly helps to know who is being mentioned in a conversation. Imagine your colleague sends the following message...

458 views 1 4
Read article

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