Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I center the HTML Table in the Email automation

Michael C
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 6, 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
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 6, 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
AUG Leaders

Atlassian Community Events