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>
<!DOCTYPE html><html><head><style>
table.center {margin-left: auto;margin-right: auto;}
It looks like you're new here. Sign in or register to get started.