I'm developing a web page and I'm trying to add some CSS Grid, but it's getting a bit difficult.
I just want to put the table on the left (85%) and the buttons on the right (15%).
#div-radio {
font-size: 18pt;
display: flex;
margin-top: 1.2%;
margin-left: 2%;
width: 46%;
display: grid;
grid-template-columns: 86% auto;
}
table {
font-size: 15pt;
margin-left: 2%;
margin-right: 2%;
border-top: 10px;
text-align: center;
width: 160%;
}
#arrows {
display: flex;
float: right;
}
<div id="div-radio" class="radio-item">
<table class="table">
<thead>
<tr id="tr-principal">
<th>ORDEN</th>
<th>SECUENCIA</th>
<th>ARTÍCULO</th>
<th>DES. ARTÍCULO</th>
<th>CANTIDAD</th>
<th>CAN. FABRICADA OF</th>
</tr>
</thead>
<tbody>
<tr>
<td class="orden"> </td>
<td class="secuencia"></td>
<td class="articulo"></td>
<td class="des_articulo"></td>
<td class="cantidad"></td>
<td class="can_fabricada_of"></td>
</tr>
</tbody>
</table>
<div id="arrows" align="right">
<button>
<img src="images/arrow_left.png" />
</button>
<button>
<img src="images/arrow_right.png" />
</button>
</div>
</div>
Thank you in advise.