Hi,
I'm currently keep getting this outcome with my current HTML :
I am attaching the data like this since there are multiple things with same title stored in sharepoint list:
I would like to have a borders for each item, but kinda confused how to achieve it.
These are the styles and HTML code that I'm using:
<style>
table {
border: 1px solid #006472;
background-color: white ;
width: 100%;
text-align: center;
border-collapse: collapse;
}
table td, table th {
border: 1px solid #AAAAAA;
padding: 3px 2px;
}
table tbody td {
border: 1px solid #AAAAAA;
border-bottom: 2px solid #AAAAAA;
font-size: 13px;
}
table thead {
background: white;
border-bottom: 2px solid #444444;
}
table thead th:first-child {
border-left: none;
}
</style>
<table>
<tr>
<th style="width:5%">No.</th>
<th>Proposed Routing</th>
<th>Estimated Setup Hours</th>
<th>Estimated Labor Hours</th>
<th>Special Instruction</th>
</tr>
<tr>
<td>@{variables('varItemno')}</td>
<td >@{variables('varProposedRouting')}</td>
<td>@{variables('varEstimatedSetupHrs')}</td>
<td>@{variables('varEstimatedLaborHr')}</td>
<td>@{variables('VarSpecialInstruction')}</td>
</tr>
</table>
Any inputs to achieve the border lines to separate each Item I could greatly appreciate it!! Thank you.
You don’t need all those variables. Just use “create html table” after “get items”. If you have your flow cleaned up and still having problems, post your new flow setup again and I will have a look at it.
Thanks for the reply!
Yes I tried it, but it results the same.
I wonder maybe it’s because I put <br></br> when I'm ‘Append to sting vars’?
But if I don't do that, they just goes aligned horizontally, which I don't want.
You already have a boarder, but it looks like you put each record in only one cell. Why do you try to built the html table yourself if there is an action "create html table" that takes an array and creates it for you?
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2