I am trying to compose the html by the below formula, its working without error as shown in the below image, but I need more result.:
replace(replace(body('CreateHTMLtablesubinv'),'<table>','<table border="1" cellspacing="0" style="padding:10px;width:100%;font-style:normal;font-family:Arial;color:black;background-color: rgb(255,255,255);font-size:13px">') ,'<th>','<th style="text-align:center;color:white;background-color:rgb(46,117,182)">')
I need to fix the below :
a) padding not working, but I applied in the code for padding to 10px, could not understand the mistake
b) last 3 column, want to keep the data algin to right as these are currency related. not looking like this.
Please guide how to fix this 2 requirement :
image of the current result:

Image of my flow:
