Create html content add datatable in mail body

Hi Team,

I need to place the table in mail body. For that I have used create html content activity. I have used add data values option and added the datatable into that. The alignment in the table which is displayed is left. But I want that to be in centre. Can anyone help me, how to do that.

Thanks.

Hi @Nagini_Pragna

You can either go with the External CSS approach where you will be specifying the table orientation in a separate .css file & incorporate the properties in the code or you could just utilise the Inline CSS as below:

<html>
<head>
    <style>
        table {
            margin: 0 auto;
            text-align: center;
        }
    </style>
</head>
<body>
    <table>
        <!-- Your table content here -->
    </table>
</body>
</html>

Hope this helps,
Best Regards.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.