Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,296,740
Community Members
 
Community Events
165
Community Groups

How do I center the HTML Table in the Email automation

Michael C I'm New Here Jun 06, 2022

I have added a table to my automation email, but I need it to be centered. But for some reason it is not centering

 

<table style="width:40%" class="center">
<tr>
<th colspan="2" style="background-color: #DDDDDD; text-align: center"><a href= "https://www.cisco.com"> Cisco.com</a> |<a href="http://www.cisco.com/en/US/swassets/sw293/privacy_statement.html?elqTrackId=8ddd85d372ab4167ae3254c8af157b56"> Privacy Statement</a> | <a href="http://www.cisco.com/en/US/swassets/sw293/trademark_statement.html?elqTrackId=846847c84bff44b6a94283e5b5e27f6b">Trademarks</a><br>
© 2022 Cisco and/or its affiliates. All rights reserved.</th>
</tr>
</table>

1 answer

0 votes
Michael C I'm New Here Jun 06, 2022

<!DOCTYPE html>
<html>
<head>
<style>

table.center {
margin-left: auto;
margin-right: auto;
}

Suggest an answer

Log in or Sign up to answer
TAGS

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