It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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.

Thanks

1 answer

0 votes

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
Community showcase
Published in Hipchat Cloud

Hipchat Cloud and Stride have reached End of Life (updated)

All good things come to an end - thanks to all our customers and partners who have been along the Hipchat and Stride journey with us.  As of Feb 15th 2019, Hipchat Cloud and Stride have reached ...

33,419 views 7 8
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you