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

This widget could not be displayed.

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

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
Published Aug 10, 2018 in Hipchat

What should I think about when migrating HipChat to Slack?

...from the beginning. We have built up a lot of content in HipChat, with it being a core tool in our distributed company model. While it is true that we didn’t need to move to Slack immediately, we felt it...

241 views 1 9
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